Skip to content

Commit

Permalink
Remove duplicate line
Browse files Browse the repository at this point in the history
  • Loading branch information
elishacloud committed Mar 14, 2024
1 parent 81e7b31 commit b9eaa2b
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions ddraw/IDirect3DDeviceX.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3458,8 +3458,6 @@ inline void m_IDirect3DDeviceX::RestoreDrawStates(DWORD dwVertexTypeDesc, DWORD
(*d3d9Device)->SetRenderState(D3DRS_ALPHABLENDENABLE, DrawStates.rsAlphaBlendEnable);
(*d3d9Device)->SetRenderState(D3DRS_FOGENABLE, DrawStates.rsFogEnable);

(*d3d9Device)->SetPixelShader(nullptr);

// Set by DirectDrawSurface
(*d3d9Device)->SetRenderState(D3DRS_LIGHTING, DrawStates.rsLighting);
(*d3d9Device)->SetSamplerState(0, D3DSAMP_MAGFILTER, DrawStates.ssMagFilter);
Expand Down

0 comments on commit b9eaa2b

Please sign in to comment.