summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>2014-02-13 19:38:13 +0900
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2014-02-13 19:38:13 +0900
commit93da35c5abf12c1712d8a96a384375ddd0369a85 (patch)
tree6da28c3411cb2b7370ccced6951d0ad3cb93ecf2
parent2e95690201798cb6e772326ab77a3682f3338dcf (diff)
evas - gl - core - checke for wrong context in error check
this fixes CID 1135266
-rw-r--r--src/modules/evas/engines/gl_common/evas_gl_core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/evas/engines/gl_common/evas_gl_core.c b/src/modules/evas/engines/gl_common/evas_gl_core.c
index cd88bd609d..c74754f390 100644
--- a/src/modules/evas/engines/gl_common/evas_gl_core.c
+++ b/src/modules/evas/engines/gl_common/evas_gl_core.c
@@ -1591,7 +1591,7 @@ evgl_context_create(void *eng_data, EVGL_Context *share_ctx)
1591 ctx->context = evgl_engine->funcs->context_create(eng_data, NULL); 1591 ctx->context = evgl_engine->funcs->context_create(eng_data, NULL);
1592 1592
1593 // Call engine create context 1593 // Call engine create context
1594 if (!ctx) 1594 if (!ctx->context)
1595 { 1595 {
1596 ERR("Error creating context from the Engine."); 1596 ERR("Error creating context from the Engine.");
1597 free(ctx); 1597 free(ctx);