aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJean-Philippe Andre <jp.andre@samsung.com>2017-03-20 12:51:16 +0900
committerJean-Philippe Andre <jp.andre@samsung.com>2017-03-20 12:51:50 +0900
commitbcb8a7e8b8e59413f50bedf1761b1b8037b9d92f (patch)
tree7e89475ba0b6d7522612f2102fe051624f0ad2f0
parenteina_debug: do not leak a spinlock when the path is not given (diff)
downloadefl-bcb8a7e8b8e59413f50bedf1761b1b8037b9d92f.tar.gz
evas gl: Fix a compilation warning
The fallback lib handle is not required unless EGL/GLES is used.
-rw-r--r--src/modules/evas/engines/gl_common/evas_gl_api.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/modules/evas/engines/gl_common/evas_gl_api.c b/src/modules/evas/engines/gl_common/evas_gl_api.c
index 47feb44e62..1222559ec3 100644
--- a/src/modules/evas/engines/gl_common/evas_gl_api.c
+++ b/src/modules/evas/engines/gl_common/evas_gl_api.c
@@ -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