D3D11/StreamBuffer: Check feature support for MAP_NO_OVERWRITE before using

This commit is contained in:
Connor McLaughlin
2020-03-08 12:51:14 +10:00
parent 99d42c07c2
commit 2249b873ff
2 changed files with 28 additions and 2 deletions

View File

@ -39,5 +39,6 @@ private:
ComPtr<ID3D11Buffer> m_buffer;
u32 m_size;
u32 m_position;
bool m_use_map_no_overwrite = false;
};
} // namespace GL