mirror of
https://github.com/Ryujinx/SDL.git
synced 2024-12-26 21:55:38 +00:00
WinRT: made sure d3d11 debug mode doesn't get enabled by default
D3D11 debug mode got inadvertently enabled, in all cases, via changeset c0e68f3. This change reverts that.
This commit is contained in:
parent
ce8057221a
commit
4d16628f1c
|
@ -725,12 +725,12 @@ D3D11_CreateDeviceResources(SDL_Renderer * renderer)
|
||||||
UINT creationFlags = D3D11_CREATE_DEVICE_BGRA_SUPPORT;
|
UINT creationFlags = D3D11_CREATE_DEVICE_BGRA_SUPPORT;
|
||||||
|
|
||||||
// Make sure Direct3D's debugging feature gets used, if the app requests it.
|
// Make sure Direct3D's debugging feature gets used, if the app requests it.
|
||||||
//const char *hint = SDL_GetHint(SDL_HINT_RENDER_DIRECT3D11_DEBUG);
|
const char *hint = SDL_GetHint(SDL_HINT_RENDER_DIRECT3D11_DEBUG);
|
||||||
//if (hint) {
|
if (hint) {
|
||||||
// if (*hint == '1') {
|
if (*hint == '1') {
|
||||||
creationFlags |= D3D11_CREATE_DEVICE_DEBUG;
|
creationFlags |= D3D11_CREATE_DEVICE_DEBUG;
|
||||||
// }
|
}
|
||||||
//}
|
}
|
||||||
|
|
||||||
// This array defines the set of DirectX hardware feature levels this app will support.
|
// This array defines the set of DirectX hardware feature levels this app will support.
|
||||||
// Note the ordering should be preserved.
|
// Note the ordering should be preserved.
|
||||||
|
|
Loading…
Reference in a new issue