evas gl: Fix a compilation warning
authorJean-Philippe Andre <jp.andre@samsung.com>
Mon, 20 Mar 2017 03:51:16 +0000 (12:51 +0900)
committerJean-Philippe Andre <jp.andre@samsung.com>
Mon, 20 Mar 2017 03:51:50 +0000 (12:51 +0900)
The fallback lib handle is not required unless EGL/GLES is used.

src/modules/evas/engines/gl_common/evas_gl_api.c

index 47feb44..1222559 100644 (file)
@@ -25,7 +25,9 @@
       }
 
 static void *_gles3_handle = NULL;
+#ifdef GL_GLES
 static void *_gles3_handle_fallback = NULL;
+#endif
 static Evas_GL_API _gles3_api;
 //---------------------------------------//
 // API Debug Error Checking Code