summaryrefslogtreecommitdiff
path: root/glx/rensize.c
diff options
context:
space:
mode:
authorJon TURNEY <jon.turney@dronecode.org.uk>2013-03-20 14:35:24 +0000
committerJon TURNEY <jon.turney@dronecode.org.uk>2013-03-20 14:35:24 +0000
commit072fb78c07da35eae6226d4304e905ec93d94312 (patch)
treecc2f0d72707558a7f86108b2f6edefe264597e48 /glx/rensize.c
parent103b77c59e3638a45179bf6d7908f5c738d2d872 (diff)
parent6fc72f3b8edbcf4adf33de163e3d9881652b92c6 (diff)
Merge branch 'cygwin-patches-for-1.14' into cygwin-release-1.14xserver-cygwin-1.14.0-1
Diffstat (limited to 'glx/rensize.c')
-rw-r--r--glx/rensize.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/glx/rensize.c b/glx/rensize.c
index bcc3a53ad..a78e60c8f 100644
--- a/glx/rensize.c
+++ b/glx/rensize.c
@@ -226,12 +226,14 @@ __glXImageSize(GLenum format, GLenum type, GLenum target,
case GL_INTENSITY:
elementsPerGroup = 1;
break;
+ case GL_RG:
case GL_422_EXT:
case GL_422_REV_EXT:
case GL_422_AVERAGE_EXT:
case GL_422_REV_AVERAGE_EXT:
case GL_DEPTH_STENCIL_NV:
case GL_DEPTH_STENCIL_MESA:
+ case GL_YCBCR_422_APPLE:
case GL_YCBCR_MESA:
case GL_LUMINANCE_ALPHA:
elementsPerGroup = 2;