diff options
author | wm4 <wm4@nowhere> | 2016-03-29 21:56:38 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2016-03-29 21:56:38 +0200 |
commit | dae23fff09337992f9773557a3ba41ffb1311b32 (patch) | |
tree | 2a9d7a56c6c844395986b7093da27012eb9cc7c6 /video/out/opengl/common.h | |
parent | b95a10c2dd9d73d13375de1c802c2124478f6d88 (diff) | |
download | mpv-dae23fff09337992f9773557a3ba41ffb1311b32.tar.bz2 mpv-dae23fff09337992f9773557a3ba41ffb1311b32.tar.xz |
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/common.h')
-rw-r--r-- | video/out/opengl/common.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/video/out/opengl/common.h b/video/out/opengl/common.h index 9236ce1d6f..f790dcb166 100644 --- a/video/out/opengl/common.h +++ b/video/out/opengl/common.h @@ -89,7 +89,6 @@ struct GL { int mpgl_caps; // Bitfield of MPGL_CAP_* constants bool debug_context; // use of e.g. GLX_CONTEXT_DEBUG_BIT_ARB int fb_r, fb_g, fb_b; // frame buffer bit depth (0 if unknown) - bool fb_premultiplied; // assumption about FB alpha compositor usage void (GLAPIENTRY *Viewport)(GLint, GLint, GLsizei, GLsizei); void (GLAPIENTRY *Clear)(GLbitfield); |