diff options
author | Niklas Haas <git@haasn.dev> | 2023-01-16 20:48:19 +0100 |
---|---|---|
committer | Niklas Haas <github-daiK1o@haasn.dev> | 2023-05-27 11:37:48 +0200 |
commit | b216c09ade7b56efb97fe82754b72b1620f67098 (patch) | |
tree | 7ddb2e078a271a88410f1b487cfd1d2d9b2e8921 /video/out/opengl/context_angle.c | |
parent | 9fd4ae9529f749010cfd26e58ad2a7141f63b609 (diff) | |
download | mpv-b216c09ade7b56efb97fe82754b72b1620f67098.tar.bz2 mpv-b216c09ade7b56efb97fe82754b72b1620f67098.tar.xz |
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,
Diffstat (limited to 'video/out/opengl/context_angle.c')
-rw-r--r-- | video/out/opengl/context_angle.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/video/out/opengl/context_angle.c b/video/out/opengl/context_angle.c index 77a33f6bb1..f5cc2c5ed6 100644 --- a/video/out/opengl/context_angle.c +++ b/video/out/opengl/context_angle.c @@ -605,10 +605,10 @@ static bool angle_init(struct ra_ctx *ctx) }; struct ra_gl_ctx_params params = { .swap_buffers = angle_swap_buffers, - .flipped = p->flipped, .external_swapchain = p->dxgi_swapchain ? &dxgi_swapchain_fns : NULL, }; + gl->flipped = p->flipped; if (!ra_gl_ctx_init(ctx, gl, params)) goto fail; |