From 182e102aa795542b106798b22d2f2dcd84440622 Mon Sep 17 00:00:00 2001 From: marha Date: Mon, 7 Mar 2011 08:07:00 +0000 Subject: Synchronize Xserver glx/rensize.c with mesa src/glx/compsize.c --- xorg-server/glx/rensize.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/xorg-server/glx/rensize.c b/xorg-server/glx/rensize.c index 1dc2407b0..8ee9dd9dc 100644 --- a/xorg-server/glx/rensize.c +++ b/xorg-server/glx/rensize.c @@ -218,12 +218,14 @@ int __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; -- cgit v1.2.3