Disable DXGI automatic display mode switching for alt-enter borderless fullscreen

This commit is contained in:
Stephen Saunders 2023-05-12 14:43:07 -04:00
parent ab7fefcadc
commit 2d46e47046

View file

@ -47,7 +47,7 @@ struct DeviceCreationParameters
{
bool startMaximized = false;
bool startFullscreen = false;
bool allowModeSwitch = true;
bool allowModeSwitch = false;
int windowPosX = -1; // -1 means use default placement
int windowPosY = -1;
uint32_t backBufferWidth = 1280;