YaGL: Fixed for proper GL launching
authorStanislav Vorobiov <s.vorobiov@samsung.com>
Mon, 15 Apr 2013 08:53:26 +0000 (12:53 +0400)
committerStanislav Vorobiov <s.vorobiov@samsung.com>
Mon, 15 Apr 2013 11:24:19 +0000 (15:24 +0400)
tizen/src/emulator.c

index c7abf6d..b31775a 100644 (file)
@@ -395,7 +395,7 @@ static void prepare_opengl_acceleration(void)
         }
     }
 
-    gchar * const tmp_str = g_strdup_printf(" gles=%d yagl=%d", enable_gl, enable_yagl);
+    gchar * const tmp_str = g_strdup_printf(" gles=%d yagl=%d", (enable_gl || enable_yagl), enable_yagl);
 
     g_strlcat(maru_kernel_cmdline, tmp_str, LEN_MARU_KERNEL_CMDLINE);