forked from enlightenment/efl
evas - gl - core - checke for wrong context in error check
this fixes CID 1135266
This commit is contained in:
parent
2e95690201
commit
93da35c5ab
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue