[d3d9] Initialize m_mapFlags to 0

Can sometimes get weird default values in there.
This commit is contained in:
Alpyne 2023-04-21 23:01:39 -07:00 committed by Joshie
parent 36e6a7c2e5
commit a79772322b
1 changed files with 1 additions and 1 deletions

View File

@ -225,7 +225,7 @@ namespace dxvk {
D3D9DeviceEx* m_parent;
const D3D9_BUFFER_DESC m_desc;
DWORD m_mapFlags;
DWORD m_mapFlags = 0;
bool m_needsReadback = false;
D3D9_COMMON_BUFFER_MAP_MODE m_mapMode;