termux-packages/x11-packages/libepoxy/libepoxy-1.5.3_src_dispatch_common.c.patch

16 lines
677 B
Diff
Raw Normal View History

2018-10-06 20:20:14 +02:00
diff -uNr libepoxy-1.5.3/src/dispatch_common.c libepoxy-1.5.3.mod/src/dispatch_common.c
--- libepoxy-1.5.3/src/dispatch_common.c 2018-10-05 02:40:48.000000000 +0300
+++ libepoxy-1.5.3.mod/src/dispatch_common.c 2018-10-06 21:07:20.971157033 +0300
@@ -178,11 +178,6 @@
#define OPENGL_LIB "/System/Library/Frameworks/OpenGL.framework/Versions/Current/OpenGL"
#define GLES1_LIB "libGLESv1_CM.so"
#define GLES2_LIB "libGLESv2.so"
-#elif defined(__ANDROID__)
-#define GLX_LIB "libGLESv2.so"
-#define EGL_LIB "libEGL.so"
-#define GLES1_LIB "libGLESv1_CM.so"
-#define GLES2_LIB "libGLESv2.so"
#elif defined(_WIN32)
#define EGL_LIB "libEGL.dll"
#define GLES1_LIB "libGLES_CM.dll"