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

Signed-off-by: Emil Velikov <emil.l.veli...@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

_______________________________________________
waffle mailing list
waffle@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/waffle

Reply via email to