diff options
Diffstat (limited to 'video/out/opengl/context.h')
-rw-r--r-- | video/out/opengl/context.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/video/out/opengl/context.h b/video/out/opengl/context.h index 5fccc70033..feaf8e1ab6 100644 --- a/video/out/opengl/context.h +++ b/video/out/opengl/context.h @@ -23,6 +23,9 @@ struct ra_gl_ctx_params { // function or if you override it yourself. void (*swap_buffers)(struct ra_ctx *ctx); + // See ra_swapchain_fns.get_latency. + double (*get_latency)(struct ra_ctx *ctx); + // Set to false if the implementation follows normal GL semantics, which is // upside down. Set to true if it does *not*, i.e. if rendering is right // side up |