summaryrefslogtreecommitdiffstats
path: root/src/glx/compsize.c
diff options
context:
space:
mode:
authorIan Romanick <[email protected]>2009-11-20 11:03:31 -0800
committerIan Romanick <[email protected]>2010-10-01 15:49:12 -0700
commitbb45ab0a96bd17bc4c575ef5460d5c65acd8768b (patch)
treeaa6f9c68c2ce516d9d5059a61a090fcbfa0e4c9e /src/glx/compsize.c
parent96efa8a923846f52f8a4d4667eab369457739f1e (diff)
ARB_texture_rg: Add GLX protocol support
Diffstat (limited to 'src/glx/compsize.c')
-rw-r--r--src/glx/compsize.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/glx/compsize.c b/src/glx/compsize.c
index ccb3a0e924e..f69ffaba316 100644
--- a/src/glx/compsize.c
+++ b/src/glx/compsize.c
@@ -66,6 +66,7 @@ __glElementsPerGroup(GLenum format, GLenum type)
case GL_RGB:
case GL_BGR:
return 3;
+ case GL_RG:
case GL_422_EXT:
case GL_422_REV_EXT:
case GL_422_AVERAGE_EXT: