diff options
author | James Ross-Gowan <rossy@jrg.systems> | 2017-09-23 18:33:33 +1000 |
---|---|---|
committer | James Ross-Gowan <rossy@jrg.systems> | 2017-09-23 18:33:33 +1000 |
commit | 3d119a0e4151ef624ad3ae8755a33f04cf2b24b8 (patch) | |
tree | 72e7157cd10d15d525c270523f5fd796689ae546 | |
parent | b0ba193b66b402c5417aa5c0863cc357139e528d (diff) | |
download | mpv-3d119a0e4151ef624ad3ae8755a33f04cf2b24b8.tar.bz2 mpv-3d119a0e4151ef624ad3ae8755a33f04cf2b24b8.tar.xz |
vo_gpu: angle: fix misleading struct name
This should have been renamed when it stopped being empty.
-rw-r--r-- | video/out/opengl/context_angle.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/video/out/opengl/context_angle.c b/video/out/opengl/context_angle.c index c96ae5cc27..0b665e27bf 100644 --- a/video/out/opengl/context_angle.c +++ b/video/out/opengl/context_angle.c @@ -683,7 +683,7 @@ static bool angle_init(struct ra_ctx *ctx) gl->SwapInterval = angle_swap_interval; // Custom swapchain impl for the D3D11 swapchain-based surface - static const struct ra_swapchain_fns empty_swapchain_fns = { + static const struct ra_swapchain_fns dxgi_swapchain_fns = { .color_depth = angle_color_depth, .screenshot = angle_screenshot, .submit_frame = angle_submit_frame, @@ -691,7 +691,7 @@ 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 ? &empty_swapchain_fns : NULL, + .external_swapchain = p->dxgi_swapchain ? &dxgi_swapchain_fns : NULL, }; if (!ra_gl_ctx_init(ctx, gl, params)) |