aboutsummaryrefslogtreecommitdiffhomepage
path: root/video/out/opengl/context_cocoa.c
diff options
context:
space:
mode:
authorGravatar wm4 <wm4@nowhere>2016-03-29 21:56:38 +0200
committerGravatar wm4 <wm4@nowhere>2016-03-29 21:56:38 +0200
commitdae23fff09337992f9773557a3ba41ffb1311b32 (patch)
tree2a9d7a56c6c844395986b7093da27012eb9cc7c6 /video/out/opengl/context_cocoa.c
parentb95a10c2dd9d73d13375de1c802c2124478f6d88 (diff)
vo_opengl: always premultiply alpha
Until now, we've let the windowing backend decide. But since they usually require premultiplied alpha, and premultiplied alpha is easier to handle, hardcode it.
Diffstat (limited to 'video/out/opengl/context_cocoa.c')
-rw-r--r--video/out/opengl/context_cocoa.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/video/out/opengl/context_cocoa.c b/video/out/opengl/context_cocoa.c
index e48472ff46..271bdb7444 100644
--- a/video/out/opengl/context_cocoa.c
+++ b/video/out/opengl/context_cocoa.c
@@ -124,7 +124,6 @@ static bool create_gl_context(struct MPGLContext *ctx, int vo_flags)
mpgl_load_functions(ctx->gl, (void *)cocoa_glgetaddr, NULL, ctx->vo->log);
ctx->gl->fb_r = ctx->gl->fb_g = ctx->gl->fb_b = cgl_color_size(ctx);
- ctx->gl->fb_premultiplied = true;
CGLReleasePixelFormat(p->pix);