From f5e48f023524630d0334b1fbc2f2dc44bbc2819b Mon Sep 17 00:00:00 2001 From: Niklas Haas Date: Sat, 17 Jan 2015 17:28:47 +0100 Subject: 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. --- video/out/gl_common.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'video/out/gl_common.h') 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 }; -- cgit v1.2.3