summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-x[-rw-r--r--]src/cairo-evas-gl-context.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cairo-evas-gl-context.c b/src/cairo-evas-gl-context.c
index 2dde155cb..10d680817 100644..100755
--- a/src/cairo-evas-gl-context.c
+++ b/src/cairo-evas-gl-context.c
@@ -266,7 +266,7 @@ _evas_gl_destroy (void *abstract_ctx)
cairo_evas_gl_context_t *ctx = abstract_ctx;
evas_gl_make_current (ctx->evas_gl, NULL, NULL);
- if (! ctx->dummy_surface)
+ if (ctx->dummy_surface)
evas_gl_surface_destroy (ctx->evas_gl, ctx->dummy_surface);
}