[PATCH 2/2] glx: Synchronize Xserver glx/rensize.c with mesa src/glx/compsize.c

Jon TURNEY jon.turney at dronecode.org.uk
Thu Jun 30 07:30:40 PDT 2011


Noticed while investigating https://bugs.freedesktop.org/show_bug.cgi?id=30102

Signed-off-by: Jon TURNEY <jon.turney at dronecode.org.uk>
---
 glx/rensize.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/glx/rensize.c b/glx/rensize.c
index 8a58e08..54fb5ca 100644
--- a/glx/rensize.c
+++ b/glx/rensize.c
@@ -220,6 +220,7 @@ int __glXImageSize( GLenum format, GLenum type, GLenum target,
 	  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;
-- 
1.7.5.1



More information about the xorg-devel mailing list