diff options
Diffstat (limited to 'video/out/opengl/context.c')
-rw-r--r-- | video/out/opengl/context.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/video/out/opengl/context.c b/video/out/opengl/context.c index 4985c8a326..6fdc123fb6 100644 --- a/video/out/opengl/context.c +++ b/video/out/opengl/context.c @@ -240,6 +240,12 @@ int mpgl_control(struct MPGLContext *ctx, int *events, int request, void *arg) return ctx->driver->control(ctx, events, request, arg); } +void mpgl_start_frame(struct MPGLContext *ctx) +{ + if (ctx->driver->start_frame) + ctx->driver->start_frame(ctx); +} + void mpgl_swap_buffers(struct MPGLContext *ctx) { ctx->driver->swap_buffers(ctx); |