Have __glImageSize handle format GL_DEPTH_STENCIL_NV the same way as the server does
[mesa.git] / src / glx / compsize.c
index f69ffaba31619336b3946bfad77561a812b86099..99c7763c7f99793d932e29a773c98c07b3cc9f1a 100644 (file)
@@ -71,6 +71,7 @@ __glElementsPerGroup(GLenum format, GLenum type)
    case GL_422_REV_EXT:
    case GL_422_AVERAGE_EXT:
    case GL_422_REV_AVERAGE_EXT:
+   case GL_DEPTH_STENCIL_NV:
    case GL_YCBCR_422_APPLE:
    case GL_LUMINANCE_ALPHA:
       return 2;