1
0
mirror of https://github.com/doitsujin/dxvk.git synced 2024-12-12 13:08:50 +01:00

[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

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;