aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/evas/engines/gl_common/evas_gl_core.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/evas/engines/gl_common/evas_gl_core.c')
-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 e5414b4f3f..3ed4a1d493 100644
--- a/src/modules/evas/engines/gl_common/evas_gl_core.c
+++ b/src/modules/evas/engines/gl_common/evas_gl_core.c
@@ -143,7 +143,7 @@ _internal_resource_make_current(void *eng_data, EVGL_Surface *sfc, EVGL_Context
{
// Do Nothing
}
- else if (ctx->pixmap_image_supported) // Pixmap surface
+ else if ((ctx) && (ctx->pixmap_image_supported)) // Pixmap surface
{
if (!sfc->indirect_sfc)
{