mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-11 05:26:24 +02:00
Fix issue with D3D9 vs UWP
This commit is contained in:
1 parent
fe77b836c7
commit
268439dd4b
1 file changed
+5
-2
+5
-2
@@ -31,8 +31,11 @@
|
||||
#include "GPU/Null/NullGpu.h"
|
||||
#include "GPU/Software/SoftGpu.h"
|
||||
|
||||
#if defined(_WIN32)
|
||||
#if PPSSPP_API(D3D9)
|
||||
#include "GPU/Directx9/GPU_DX9.h"
|
||||
#endif
|
||||
|
||||
#if PPSSPP_API(D3D11)
|
||||
#include "GPU/D3D11/GPU_D3D11.h"
|
||||
#endif
|
||||
|
||||
@@ -78,7 +81,7 @@ bool GPU_Init(GraphicsContext *ctx, Draw::DrawContext *draw) {
|
||||
SetGPU(new SoftGPU(ctx, draw));
|
||||
break;
|
||||
case GPUCORE_DIRECTX9:
|
||||
#if defined(_WIN32)
|
||||
#if PPSSPP_API(D3D9)
|
||||
SetGPU(new DIRECTX9_GPU(ctx, draw));
|
||||
break;
|
||||
#else
|
||||
|
||||
Reference in new issue
Block a user