Revert addition of D3DCREATE_NOWINDOWCHANGES
This flag breaks Alt+Tab in full-screen exclusive mode
This commit is contained in:
parent
48bcb6b9a6
commit
5f682bb45f
1 changed files with 0 additions and 3 deletions
|
|
@ -643,9 +643,6 @@ bool DXVA2Renderer::initializeDevice(SDL_Window* window, bool enableVsync)
|
||||||
// in a separate thread with this device.
|
// in a separate thread with this device.
|
||||||
int deviceFlags = D3DCREATE_MULTITHREADED;
|
int deviceFlags = D3DCREATE_MULTITHREADED;
|
||||||
|
|
||||||
// We don't need D3D to mess with our window at all. SDL does that.
|
|
||||||
deviceFlags |= D3DCREATE_NOWINDOWCHANGES;
|
|
||||||
|
|
||||||
if (deviceCaps.DevCaps & D3DDEVCAPS_HWTRANSFORMANDLIGHT) {
|
if (deviceCaps.DevCaps & D3DDEVCAPS_HWTRANSFORMANDLIGHT) {
|
||||||
deviceFlags |= D3DCREATE_HARDWARE_VERTEXPROCESSING;
|
deviceFlags |= D3DCREATE_HARDWARE_VERTEXPROCESSING;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue