From b216c09ade7b56efb97fe82754b72b1620f67098 Mon Sep 17 00:00:00 2001 From: Niklas Haas Date: Mon, 16 Jan 2023 20:48:19 +0100 Subject: opengl: move `ra_gl_ctx_params.flipped` to `struct GL` This is motivated by a need to access it from vo_gpu_next's opengl wrapping code, and justified by it being an inherent property of the GL context itself, --- video/out/opengl/context.h | 5 ----- 1 file changed, 5 deletions(-) (limited to 'video/out/opengl/context.h') diff --git a/video/out/opengl/context.h b/video/out/opengl/context.h index 19521ff54b..c96450ebd5 100644 --- a/video/out/opengl/context.h +++ b/video/out/opengl/context.h @@ -34,11 +34,6 @@ struct ra_gl_ctx_params { // See ra_swapchain_fns.get_vsync. void (*get_vsync)(struct ra_ctx *ctx, struct vo_vsync_info *info); - // 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 - bool flipped; - // If this is set to non-NULL, then the ra_gl_ctx will consider the GL // implementation to be using an external swapchain, which disables the // software simulation of --swapchain-depth. Any functions defined by this -- cgit v1.2.3