Skip to content

Commit

Permalink
[d3d8] Don't explicitly end scene during device reset
Browse files Browse the repository at this point in the history
  • Loading branch information
WinterSnowfall authored Feb 20, 2024
1 parent 1a039a4 commit 6ad00bc
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/d3d8/d3d8_device.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -211,8 +211,6 @@ namespace dxvk {

HRESULT STDMETHODCALLTYPE D3D8Device::Reset(D3DPRESENT_PARAMETERS* pPresentationParameters) {
StateChange();
// Resetting implicitly ends scenes started by BeginScene
GetD3D9()->EndScene();

d3d9::D3DPRESENT_PARAMETERS params = ConvertPresentParameters9(pPresentationParameters);
HRESULT res = GetD3D9()->Reset(&params);
Expand Down

0 comments on commit 6ad00bc

Please sign in to comment.