summaryrefslogtreecommitdiffstats
path: root/video/out/gl_common.h
diff options
context:
space:
mode:
authorNiklas Haas <git@nand.wakku.to>2015-01-17 17:28:47 +0100
committerNiklas Haas <git@nand.wakku.to>2015-01-22 19:29:23 +0100
commitf5e48f023524630d0334b1fbc2f2dc44bbc2819b (patch)
treef282841538e9ba421152c7a5b3750bbb730ebf4b /video/out/gl_common.h
parent571fe8f729827c628a2fa25c0b7b468a1a4559ae (diff)
downloadmpv-f5e48f023524630d0334b1fbc2f2dc44bbc2819b.tar.bz2
mpv-f5e48f023524630d0334b1fbc2f2dc44bbc2819b.tar.xz
vo_opengl: clean up ewa_lanczos code
This fixes compatibility with GLES 2.0 and makes the code a bit neater in general. It also properly forces indirect scaling for subsampled video regardless of the lscale setting.
Diffstat (limited to 'video/out/gl_common.h')
-rw-r--r--video/out/gl_common.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/video/out/gl_common.h b/video/out/gl_common.h
index 24c6091ade..dcb6a86ced 100644
--- a/video/out/gl_common.h
+++ b/video/out/gl_common.h
@@ -73,8 +73,9 @@ enum {
MPGL_CAP_VDPAU = (1 << 11), // GL_NV_vdpau_interop
MPGL_CAP_APPLE_RGB_422 = (1 << 12), // GL_APPLE_rgb_422
MPGL_CAP_1ST_CLASS_ARRAYS = (1 << 13),
- MPGL_CAP_3D_TEX = (1 << 14),
- MPGL_CAP_DEBUG = (1 << 15),
+ MPGL_CAP_1D_TEX = (1 << 14),
+ MPGL_CAP_3D_TEX = (1 << 15),
+ MPGL_CAP_DEBUG = (1 << 16),
MPGL_CAP_SW = (1 << 30), // indirect or sw renderer
};