summaryrefslogtreecommitdiff
path: root/cogl/cogl-gles2-context.c
diff options
context:
space:
mode:
Diffstat (limited to 'cogl/cogl-gles2-context.c')
-rw-r--r--cogl/cogl-gles2-context.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cogl/cogl-gles2-context.c b/cogl/cogl-gles2-context.c
index 02801c3a..ffaf1f0d 100644
--- a/cogl/cogl-gles2-context.c
+++ b/cogl/cogl-gles2-context.c
@@ -1520,7 +1520,7 @@ _cogl_gles2_context_free (CoglGLES2Context *gles2_context)
{
CoglGLES2Offscreen *gles2_offscreen =
_cogl_container_of (gles2_context->foreign_offscreens.next,
- gles2_offscreen,
+ CoglGLES2Offscreen,
link);
/* Note: this will also indirectly free the gles2_offscreen by