Skip to content

Commit

Permalink
Merge branch 'ajaus/device-reset' into 'main'
Browse files Browse the repository at this point in the history
[REMIX-2287] Remove a statement that assigns the d3d9 device's clientside state cache to a...

See merge request lightspeedrtx/bridge-remix-nv!81
  • Loading branch information
nv-ajaus committed May 1, 2024
2 parents 1163038 + 03965f8 commit e0dbe92
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/client/d3d9_device.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -414,7 +414,6 @@ HRESULT Direct3DDevice9Ex_LSS<EnableSync>::Reset(D3DPRESENT_PARAMETERS* pPresent
BRIDGE_DEVICE_LOCKGUARD();
// Clear all device state and release implicit/internal objects
releaseInternalObjects();
m_state = BaseDirect3DDevice9Ex_LSS::State();
// Reset all device state to default values and init implicit/internal objects
ResetState();
const auto presParam = Direct3DSwapChain9_LSS::sanitizePresentationParameters(*pPresentationParameters, getCreateParams());
Expand Down

0 comments on commit e0dbe92

Please sign in to comment.