Skip to content

Commit b2b89ee

Browse files
committed
[d3d9] Initialize m_mapFlags to 0
Can sometimes get weird default values in there.
1 parent 44e522f commit b2b89ee

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/d3d9/d3d9_common_buffer.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,7 @@ namespace dxvk {
227227

228228
D3D9DeviceEx* m_parent;
229229
const D3D9_BUFFER_DESC m_desc;
230-
DWORD m_mapFlags;
230+
DWORD m_mapFlags = 0;
231231
bool m_needsReadback = false;
232232
D3D9_COMMON_BUFFER_MAP_MODE m_mapMode;
233233

0 commit comments

Comments
 (0)