summaryrefslogtreecommitdiff
path: root/src/modules/evas/engines/gl_common
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 /src/modules/evas/engines/gl_common
parent2e95690201798cb6e772326ab77a3682f3338dcf (diff)
downloadefl-93da35c5abf12c1712d8a96a384375ddd0369a85.tar.gz
evas - gl - core - checke for wrong context in error check
this fixes CID 1135266
Diffstat (limited to 'src/modules/evas/engines/gl_common')
-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)
ctx->context = evgl_engine->funcs->context_create(eng_data, NULL);
// Call engine create context
- if (!ctx)
+ if (!ctx->context)
{
ERR("Error creating context from the Engine.");
free(ctx);