Changeset 1826


Ignore:
Timestamp:
Aug 27, 2012, 6:20:36 PM (8 years ago)
Author:
sam
Message:

gpu: increase default minimum shader model.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/gpu/shader.cpp

    r1773 r1826  
    193193#if defined USE_D3D9 || defined _XBOX
    194194    hr = D3DXCompileShader(vert, (UINT)strlen(vert), macros, NULL, "main",
    195                            "vs_2_0", 0, &shader_code, &error_msg,
     195                           "vs_3_0", 0, &shader_code, &error_msg,
    196196                           &data->vert_table);
    197197    if (FAILED(hr))
     
    237237#if defined USE_D3D9 || defined _XBOX
    238238    hr = D3DXCompileShader(frag, (UINT)strlen(frag), macros, NULL, "main",
    239                            "ps_2_0", 0, &shader_code, &error_msg,
     239                           "ps_3_0", 0, &shader_code, &error_msg,
    240240                           &data->frag_table);
    241241    if (FAILED(hr))
Note: See TracChangeset for help on using the changeset viewer.