summaryrefslogtreecommitdiffstats
path: root/video/out/opengl/hwdec_osx.c
diff options
context:
space:
mode:
Diffstat (limited to 'video/out/opengl/hwdec_osx.c')
-rw-r--r--video/out/opengl/hwdec_osx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/video/out/opengl/hwdec_osx.c b/video/out/opengl/hwdec_osx.c
index aa350209ec..734e3a2e0e 100644
--- a/video/out/opengl/hwdec_osx.c
+++ b/video/out/opengl/hwdec_osx.c
@@ -79,7 +79,7 @@ static struct vt_format vt_formats[] = {
},
{
.cvpixfmt = kCVPixelFormatType_32BGRA,
- .imgfmt = IMGFMT_RGB0,
+ .imgfmt = IMGFMT_BGR0,
.planes = 1,
.gl = {
{ GL_BGRA, GL_UNSIGNED_INT_8_8_8_8_REV, GL_RGBA }