mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-28 08:43:38 +01:00
Fix D3D11 context on Windows ARM Debug
debug layers are not available on ARM32/ARM64 (D3D*SDKLayers.dll not available), so disable it.
This commit is contained in:
1 parent
e3213b14ee
commit
7b7dede420
1 file changed
+1
-1
@@ -51,7 +51,7 @@ void D3D11Context::SwapInterval(int interval) {
|
||||
|
||||
HRESULT D3D11Context::CreateTheDevice(IDXGIAdapter *adapter) {
|
||||
bool windowed = true;
|
||||
#ifdef _DEBUG
|
||||
#if defined(_DEBUG) && !defined(_M_ARM) && !defined(_M_ARM64)
|
||||
UINT createDeviceFlags = D3D11_CREATE_DEVICE_DEBUG;
|
||||
#else
|
||||
UINT createDeviceFlags = 0;
|
||||
|
||||
Reference in new issue
Block a user