src/render/direct3d/SDL_render_d3d.c
changeset 6115 d4621a7e0faa
parent 6076 e69b1bd26e0b
child 6138 4c64952a58fb
     1.1 --- a/src/render/direct3d/SDL_render_d3d.c	Thu Dec 29 05:13:55 2011 -0500
     1.2 +++ b/src/render/direct3d/SDL_render_d3d.c	Thu Dec 29 05:18:16 2011 -0500
     1.3 @@ -441,11 +441,11 @@
     1.4      result = IDirect3D9_CreateDevice(data->d3d, data->adapter,
     1.5                                       D3DDEVTYPE_HAL,
     1.6                                       pparams.hDeviceWindow,
     1.7 -                                     (caps.
     1.8 +                                     D3DCREATE_FPU_PRESERVE | ((caps.
     1.9                                        DevCaps &
    1.10                                        D3DDEVCAPS_HWTRANSFORMANDLIGHT) ?
    1.11                                       D3DCREATE_HARDWARE_VERTEXPROCESSING :
    1.12 -                                     D3DCREATE_SOFTWARE_VERTEXPROCESSING,
    1.13 +                                     D3DCREATE_SOFTWARE_VERTEXPROCESSING),
    1.14                                       &pparams, &data->device);
    1.15      if (FAILED(result)) {
    1.16          D3D_DestroyRenderer(renderer);