distribution/packages/emulators/libretro/desmume-lr/patches/gles/000-enable-gles.patch
2023-07-23 14:22:51 +00:00

26 lines
858 B
Diff

From 89112d650a16787a7b27fd176b976a67bf10f96d Mon Sep 17 00:00:00 2001
From: SupervisedThinking <supervisedthinking@gmail.com>
Date: Thu, 20 May 2021 15:57:36 +0200
Subject: [PATCH] Makefile.libretro: disable OpenGL
---
desmume/src/frontend/libretro/Makefile.libretro | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
--- a/desmume/src/frontend/libretro/Makefile.libretro
+++ b/desmume/src/frontend/libretro/Makefile.libretro
@@ -75,10 +75,10 @@ ifneq (,$(findstring unix,$(platform)))
CXX = g++-x86
endif
else
- LIBS := -lpthread -lGL -lpcap
- CXXFLAGS += -DHAVE_OPENGL -std=gnu++11
- DESMUME_OPENGL = 1
- DESMUME_OPENGL_CORE = 1
+ LIBS := -lpthread -lpcap
+ CXXFLAGS += -std=gnu++11
+ DESMUME_OPENGL = 0
+ DESMUME_OPENGL_CORE = 0
endif
ifneq (,$(findstring clang,$(platform)))