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