Skip to content

Commit

Permalink
Don't get video memory from Utils
Browse files Browse the repository at this point in the history
  • Loading branch information
elishacloud committed Sep 13, 2024
1 parent ebd7690 commit 4fd3f8a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 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 7151
#define BUILD_NUMBER 7152
1 change: 0 additions & 1 deletion ddraw/IDirectDrawX.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2085,7 +2085,6 @@ HRESULT m_IDirectDrawX::GetAvailableVidMem2(LPDDSCAPS2 lpDDSCaps2, LPDWORD lpdwT
{
AvailableMemory = d3d9Device->GetAvailableTextureMem();
}
Utils::GetVideoRam(1, TotalMemory); // Just get memory for the first adapter for now
}
}
// Get non-local video memory
Expand Down

0 comments on commit 4fd3f8a

Please sign in to comment.