aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/main/readpix.c
diff options
context:
space:
mode:
authorIan Romanick <[email protected]>2010-09-28 17:24:39 -0700
committerIan Romanick <[email protected]>2010-10-01 15:49:13 -0700
commit5d1387b2da3626326410804026f8b92f1a121fdc (patch)
treec810e7ff2d1444bef186e17547556c31a93d94f8 /src/mesa/main/readpix.c
parent214a33f6104511bc163fdb964161d264e67090d3 (diff)
ARB_texture_rg: Add R8, R16, RG88, and RG1616 internal formats
Diffstat (limited to 'src/mesa/main/readpix.c')
-rw-r--r--src/mesa/main/readpix.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/main/readpix.c b/src/mesa/main/readpix.c
index 93f2bd31cc6..bb3fb9eb662 100644
--- a/src/mesa/main/readpix.c
+++ b/src/mesa/main/readpix.c
@@ -66,6 +66,7 @@ _mesa_error_check_format_type(GLcontext *ctx, GLenum format, GLenum type,
/* additional checks */
switch (format) {
+ case GL_RG:
case GL_RED:
case GL_GREEN:
case GL_BLUE: