diff options
author | Carsten Haitzler (Rasterman) <raster@rasterman.com> | 2014-02-13 19:38:13 +0900 |
---|---|---|
committer | Carsten Haitzler (Rasterman) <raster@rasterman.com> | 2014-02-13 19:38:13 +0900 |
commit | 93da35c5abf12c1712d8a96a384375ddd0369a85 (patch) | |
tree | 6da28c3411cb2b7370ccced6951d0ad3cb93ecf2 /src/modules/evas/engines/gl_common | |
parent | 2e95690201798cb6e772326ab77a3682f3338dcf (diff) | |
download | efl-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.c | 2 |
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); |