Skip to content
This repository has been archived by the owner on Feb 11, 2021. It is now read-only.

Commit

Permalink
Re-apply texture filter when resetting direct3d renderer.
Browse files Browse the repository at this point in the history
  • Loading branch information
yuriks committed May 29, 2013
1 parent af8e49a commit 1a34eac
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/render/direct3d/SDL_render_d3d.c
Expand Up @@ -384,6 +384,7 @@ D3D_Reset(SDL_Renderer * renderer)
D3DCULL_NONE);
IDirect3DDevice9_SetRenderState(data->device, D3DRS_LIGHTING, FALSE);
IDirect3DDevice9_GetRenderTarget(data->device, 0, &data->defaultRenderTarget);
data->scaleMode = D3DTEXF_FORCE_DWORD;
return 0;
}

Expand Down

0 comments on commit 1a34eac

Please sign in to comment.