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

Colin Harrison colin.harrison at virgin.net
Thu Jun 30 08:22:54 PDT 2011


Hi,

Isn't there a case: GL_RG: as well?

--- ./glx/save_rensize.c 
+++ ./glx/rensize.c 
@@ -214,12 +214,14 @@
          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;

Thanks,

Colin Harrison



More information about the xorg-devel mailing list