mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-21 18:29:05 +02:00
remove all usage of __LIBRETRO__
This commit is contained in:
1 parent
c4f7790618
commit
0af6d573bb
3 files changed
+3
-5
No files matched your search
@@ -77,7 +77,7 @@ namespace MIPSComp {
|
||||
}
|
||||
|
||||
}
|
||||
#if PPSSPP_PLATFORM(WINDOWS) && !defined(__LIBRETRO__)
|
||||
#if PPSSPP_PLATFORM(WINDOWS)
|
||||
#define DISASM_ALL 1
|
||||
#endif
|
||||
|
||||
|
||||
+2
-2
@@ -77,14 +77,14 @@ bool GPU_Init(GraphicsContext *ctx, Draw::DrawContext *draw) {
|
||||
SetGPU(new SoftGPU(ctx, draw));
|
||||
break;
|
||||
case GPUCORE_DIRECTX9:
|
||||
#if defined(_WIN32) && !defined(__LIBRETRO__)
|
||||
#if defined(_WIN32)
|
||||
SetGPU(new DIRECTX9_GPU(ctx, draw));
|
||||
break;
|
||||
#else
|
||||
return false;
|
||||
#endif
|
||||
case GPUCORE_DIRECTX11:
|
||||
#if defined(_WIN32) && !defined(__LIBRETRO__)
|
||||
#if defined(_WIN32)
|
||||
SetGPU(new GPU_D3D11(ctx, draw));
|
||||
break;
|
||||
#else
|
||||
|
||||
@@ -270,7 +270,6 @@ void CheckGLExtensions() {
|
||||
}
|
||||
}
|
||||
|
||||
#ifndef __LIBRETRO__
|
||||
#ifdef WIN32
|
||||
const char *wglString = 0;
|
||||
if (wglGetExtensionsStringEXT)
|
||||
@@ -284,7 +283,6 @@ void CheckGLExtensions() {
|
||||
#elif !defined(USING_GLES2)
|
||||
// const char *glXString = glXQueryExtensionString();
|
||||
// gl_extensions.EXT_swap_control_tear = strstr(glXString, "GLX_EXT_swap_control_tear") != 0;
|
||||
#endif
|
||||
#endif
|
||||
|
||||
// Check the desktop extension instead of the OES one. They are very similar.
|
||||
|
||||
Reference in new issue
Block a user