mirror of
https://github.com/RetroPie/RetroPie-Setup.git
synced 2025-04-02 10:51:41 -04:00
15 lines
433 B
Diff
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
|