evas-gl : fix initialize bug in eng_gl_surface_query() 14/89314/3
authorsunghyun kim <scholb.kim@samsung.com>
Fri, 23 Sep 2016 05:42:39 +0000 (14:42 +0900)
committerGerrit Code Review <gerrit@review.vlan103.tizen.org>
Fri, 23 Sep 2016 09:24:22 +0000 (02:24 -0700)
Change-Id: Ia280d87b16b462db2896cdbe48e1b399415bdf6a

src/modules/evas/engines/gl_generic/evas_engine.c

index 813b93c..4fed14d 100644 (file)
@@ -1801,7 +1801,7 @@ eng_gl_surface_query(void *data, void *surface, int attr, void *value)
    if (sfc->pbuffer.is_pbuffer)
      {
         // This is a real EGL surface, let's just call EGL directly
-        int val;
+        int val = 0;
         Eina_Bool ok;
         void *disp;