Re-apply texture filter when resetting direct3d renderer.
authorYuri K. Schlesner <yuriks@yuriks.net>
Wed, 29 May 2013 06:31:48 -0500
changeset 7250bbb6b079cfe5
parent 7249 606c8fcfef2f
child 7251 8c5e575a1315
Re-apply texture filter when resetting direct3d renderer.
src/render/direct3d/SDL_render_d3d.c
     1.1 --- a/src/render/direct3d/SDL_render_d3d.c	Thu May 30 20:03:56 2013 -0700
     1.2 +++ b/src/render/direct3d/SDL_render_d3d.c	Wed May 29 06:31:48 2013 -0500
     1.3 @@ -384,6 +384,7 @@
     1.4                                      D3DCULL_NONE);
     1.5      IDirect3DDevice9_SetRenderState(data->device, D3DRS_LIGHTING, FALSE);
     1.6      IDirect3DDevice9_GetRenderTarget(data->device, 0, &data->defaultRenderTarget);
     1.7 +    data->scaleMode = D3DTEXF_FORCE_DWORD;
     1.8      return 0;
     1.9  }
    1.10