mirror of
https://github.com/doitsujin/dxvk.git
synced 2025-03-13 19:29:14 +01:00
[dxgi] Initialize size of DEVMODEW structure
The documentation says we should do this.
This commit is contained in:
parent
1117daec24
commit
6d0757520b
@ -263,7 +263,8 @@ namespace dxvk {
|
||||
|
||||
// Walk over all modes that the display supports and
|
||||
// return those that match the requested format etc.
|
||||
DEVMODEW devMode;
|
||||
DEVMODEW devMode = { };
|
||||
devMode.dmSize = sizeof(DEVMODEW);
|
||||
|
||||
uint32_t srcModeId = 0;
|
||||
uint32_t dstModeId = 0;
|
||||
|
Loading…
x
Reference in New Issue
Block a user