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

Jon TURNEY jon.turney at dronecode.org.uk
Thu Nov 8 05:41:15 PST 2012


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

Signed-off-by: Jon TURNEY <jon.turney at dronecode.org.uk>
Reviewed-by: Colin Harrison <colin.harrison at virgin.net>
---
 glx/rensize.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/glx/rensize.c b/glx/rensize.c
index bcc3a53..a78e60c 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;
-- 
1.7.9



More information about the xorg-devel mailing list