aboutsummaryrefslogtreecommitdiff
path: root/mesalib/src/mesa/main/fbobject.c
diff options
context:
space:
mode:
authormarha <marha@users.sourceforge.net>2011-05-18 07:55:12 +0000
committermarha <marha@users.sourceforge.net>2011-05-18 07:55:12 +0000
commit32a666fa1f26defd3b4e508b75f1acf6e2900a40 (patch)
tree9735440d047c660e4966060a3020e2cae419d77c /mesalib/src/mesa/main/fbobject.c
parentab5c2d2c78273ccdc7c9734bcba482a33fcf9652 (diff)
parent35484135119fcf55fe1cbb1fcdd0e035f581fcfb (diff)
downloadvcxsrv-32a666fa1f26defd3b4e508b75f1acf6e2900a40.tar.gz
vcxsrv-32a666fa1f26defd3b4e508b75f1acf6e2900a40.tar.bz2
vcxsrv-32a666fa1f26defd3b4e508b75f1acf6e2900a40.zip
merge ^/branches/released .
Diffstat (limited to 'mesalib/src/mesa/main/fbobject.c')
-rw-r--r--mesalib/src/mesa/main/fbobject.c10
1 files changed, 4 insertions, 6 deletions
diff --git a/mesalib/src/mesa/main/fbobject.c b/mesalib/src/mesa/main/fbobject.c
index 68a141d29..5e54bbdf3 100644
--- a/mesalib/src/mesa/main/fbobject.c
+++ b/mesalib/src/mesa/main/fbobject.c
@@ -418,18 +418,16 @@ _mesa_validate_framebuffer(struct gl_context *ctx, struct gl_framebuffer *fb)
case GL_RG:
fb->_Status = GL_FRAMEBUFFER_UNSUPPORTED;
return;
- case GL_RGB:
+
+ default:
switch (rb->Format) {
+ /* XXX This list is likely incomplete. */
case MESA_FORMAT_RGB9_E5_FLOAT:
fb->_Status = GL_FRAMEBUFFER_UNSUPPORTED;
return;
default:;
+ /* render buffer format is supported by software rendering */
}
- break;
-
- default:
- /* render buffer format is supported by software rendering */
- ;
}
}
}