[waffle] [PATCH 13/13] linux: return NULL for libGL.so on Android

Emil Velikov emil.l.velikov at gmail.com
Tue Apr 5 21:58:26 UTC 2016


Unlikely that we'll ever hit it, but it brings consistency with the remainder of the function.

Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
---
 src/waffle/linux/linux_dl.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/src/waffle/linux/linux_dl.c b/src/waffle/linux/linux_dl.c
index 0858ef3..ea4aaa1 100644
--- a/src/waffle/linux/linux_dl.c
+++ b/src/waffle/linux/linux_dl.c
@@ -49,7 +49,11 @@ linux_dl_get_name(int32_t waffle_dl)
 {
     switch (waffle_dl) {
         case WAFFLE_DL_OPENGL:
+#ifdef WAFFLE_HAS_ANDROID
+            return NULL;
+#else
             return "libGL.so.1";
+#endif
         case WAFFLE_DL_OPENGL_ES1:
 #ifdef WAFFLE_HAS_ANDROID
             return "libGLESv1_CM.so";
-- 
2.8.0



More information about the waffle mailing list