aboutsummaryrefslogtreecommitdiff
path: root/xorg-server
diff options
context:
space:
mode:
authormarha <marha@users.sourceforge.net>2011-03-07 08:07:00 +0000
committermarha <marha@users.sourceforge.net>2011-03-07 08:07:00 +0000
commit182e102aa795542b106798b22d2f2dcd84440622 (patch)
tree0d66fb1bca5873787f14350d7f0c0d56977544ea /xorg-server
parent43ac73d271f697d91670fd6cb120489acc03aaeb (diff)
downloadvcxsrv-182e102aa795542b106798b22d2f2dcd84440622.tar.gz
vcxsrv-182e102aa795542b106798b22d2f2dcd84440622.tar.bz2
vcxsrv-182e102aa795542b106798b22d2f2dcd84440622.zip
Synchronize Xserver glx/rensize.c with mesa src/glx/compsize.c
Diffstat (limited to 'xorg-server')
-rw-r--r--xorg-server/glx/rensize.c2
1 files changed, 2 insertions, 0 deletions
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;