aboutsummaryrefslogtreecommitdiff
path: root/mesalib/src/mesa/main/fbobject.c
diff options
context:
space:
mode:
authormarha <marha@users.sourceforge.net>2011-08-30 08:04:44 +0200
committermarha <marha@users.sourceforge.net>2011-08-30 08:08:15 +0200
commit82ce0534a7bc89f1ed93b4b952b30ceb3d94210d (patch)
treea2b73894a436b1158cf0e8e2f2ea946478529d12 /mesalib/src/mesa/main/fbobject.c
parent01df5d59e56a1b060568f8cad2e89f7eea22fc70 (diff)
downloadvcxsrv-82ce0534a7bc89f1ed93b4b952b30ceb3d94210d.tar.gz
vcxsrv-82ce0534a7bc89f1ed93b4b952b30ceb3d94210d.tar.bz2
vcxsrv-82ce0534a7bc89f1ed93b4b952b30ceb3d94210d.zip
mesa git update 30 aug 2011
Diffstat (limited to 'mesalib/src/mesa/main/fbobject.c')
-rw-r--r--mesalib/src/mesa/main/fbobject.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mesalib/src/mesa/main/fbobject.c b/mesalib/src/mesa/main/fbobject.c
index 0b48fc7ea..fd371aba8 100644
--- a/mesalib/src/mesa/main/fbobject.c
+++ b/mesalib/src/mesa/main/fbobject.c
@@ -2321,7 +2321,7 @@ _mesa_GetFramebufferAttachmentParameterivEXT(GLenum target, GLenum attachment,
}
else {
gl_format format = att->Renderbuffer->Format;
- if (format == MESA_FORMAT_CI8 || format == MESA_FORMAT_S8) {
+ if (format == MESA_FORMAT_S8) {
/* special cases */
*params = GL_INDEX;
}