summaryrefslogtreecommitdiff
path: root/cogl/cogl-onscreen.c
diff options
context:
space:
mode:
Diffstat (limited to 'cogl/cogl-onscreen.c')
-rw-r--r--cogl/cogl-onscreen.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/cogl/cogl-onscreen.c b/cogl/cogl-onscreen.c
index 637cb303..3c1fe3c4 100644
--- a/cogl/cogl-onscreen.c
+++ b/cogl/cogl-onscreen.c
@@ -181,7 +181,9 @@ _cogl_dispatch_onscreen_cb (CoglContext *context)
while (!_cogl_list_empty (&context->onscreen_dirty_queue))
{
CoglOnscreenQueuedDirty *qe =
- _cogl_container_of (context->onscreen_dirty_queue.next, qe, link);
+ _cogl_container_of (context->onscreen_dirty_queue.next,
+ CoglOnscreenQueuedDirty,
+ link);
_cogl_list_remove (&qe->link);