diff options
Diffstat (limited to 'EGL/yagl_render.c')
-rw-r--r-- | EGL/yagl_render.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/EGL/yagl_render.c b/EGL/yagl_render.c index 0bcf932..de117b1 100644 --- a/EGL/yagl_render.c +++ b/EGL/yagl_render.c @@ -62,6 +62,7 @@ void yagl_render_invalidate(int throttle) void yagl_render_finish() { struct yagl_surface *draw_sfc = yagl_get_draw_surface(); + struct yagl_context *ctx = yagl_get_context(); if (draw_sfc) { draw_sfc->wait_gl(draw_sfc); @@ -73,4 +74,6 @@ void yagl_render_finish() */ yagl_transport_flush(yagl_get_transport(), NULL); } + + yagl_context_finish(ctx); } |