RetroPie-Setup/scriptmodules/libretrocores/lr-mupen64plus/0002-rpi-gles3.patch
Jools Wills 1a6a14fbbe lr-mupen64plus / lr-mupen64plus-next - enable FORCE_GLES3 parameter based on platform gles3 flag
* add patch for lr-mupen64plus Makefile to support FORCE_GLES3 when using platform=rpi*
2020-02-01 03:43:40 +00:00

15 lines
433 B
Diff

--- a/Makefile
+++ b/Makefile
@@ -94,7 +94,11 @@ ifneq (,$(findstring unix,$(platform)))
else ifneq (,$(findstring rpi,$(platform)))
TARGET := $(TARGET_NAME)_libretro.so
LDFLAGS += -shared -Wl,--version-script=$(LIBRETRO_DIR)/link.T -Wl,--no-undefined
- GLES = 1
+ ifeq ($(FORCE_GLES3),1)
+ GLES3 = 1
+ else
+ GLES = 1
+ endif
ifneq (,$(findstring mesa,$(platform)))
GL_LIB := -lGLESv2
else