Skip to content

Commit

Permalink
Don't remove backbuffer flag
Browse files Browse the repository at this point in the history
  • Loading branch information
elishacloud committed Sep 8, 2023
1 parent 54a7988 commit a078031
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
2 changes: 1 addition & 1 deletion Dllmain/BuildNo.rc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
#define BUILD_NUMBER 6803
#define BUILD_NUMBER 6804
4 changes: 0 additions & 4 deletions ddraw/IDirectDrawSurfaceX.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4903,10 +4903,6 @@ inline void m_IDirectDrawSurfaceX::InitSurfaceDesc(DWORD DirectXVersion)
Desc2.ddsCaps.dwCaps |= DDSCAPS_BACKBUFFER;
Desc2.dwReserved = (DWORD)this;
}
else if (Desc2.ddsCaps.dwCaps & DDSCAPS_BACKBUFFER)
{
Desc2.ddsCaps.dwCaps &= ~DDSCAPS_BACKBUFFER;
}

// Create complex surfaces
if (Desc2.ddsCaps.dwCaps & DDSCAPS_COMPLEX)
Expand Down

0 comments on commit a078031

Please sign in to comment.