evas - gl - core - checke for wrong context in error check

this fixes CID 1135266
This commit is contained in:
Carsten Haitzler 2014-02-13 19:38:13 +09:00
parent 2e95690201
commit 93da35c5ab
1 changed files with 1 additions and 1 deletions

View File

@ -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);