summaryrefslogtreecommitdiffstats
path: root/video/out/opengl/context_rpi.c
diff options
context:
space:
mode:
Diffstat (limited to 'video/out/opengl/context_rpi.c')
-rw-r--r--video/out/opengl/context_rpi.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/video/out/opengl/context_rpi.c b/video/out/opengl/context_rpi.c
index 5c9b81da01..3d102082eb 100644
--- a/video/out/opengl/context_rpi.c
+++ b/video/out/opengl/context_rpi.c
@@ -139,8 +139,8 @@ static int recreate_dispmanx(struct MPGLContext *ctx)
.flags = DISPMANX_FLAGS_ALPHA_FROM_SOURCE,
.opacity = 0xFF,
};
- p->window = vc_dispmanx_element_add(p->update, p->display, 1, &dst, 0,
- &src, DISPMANX_PROTECTION_NONE, &alpha, 0, 0);
+ p->window = vc_dispmanx_element_add(p->update, p->display, 1, &dst, 0, &src,
+ DISPMANX_PROTECTION_NONE, &alpha, 0, 0);
if (!p->window) {
MP_FATAL(ctx->vo, "Could not add DISPMANX element.\n");
goto fail;