summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Paul <brianp@vmware.com>2010-11-07 18:33:53 -0700
committerBrian Paul <brianp@vmware.com>2010-11-07 18:33:53 -0700
commit802bd6b7059122bccaf4bd27ae4062a70aa4e918 (patch)
treee9090964b07ff5be3fae8f1351552c17e921b039
parentdd28b4c1fc56106e5ac2f13767f41b9f721dbb36 (diff)
mesa: remove stray GL_FLOAT case in _mesa_is_legal_format_and_type()
-rw-r--r--src/mesa/main/image.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/mesa/main/image.c b/src/mesa/main/image.c
index 6b12f6a48c6..df1527b47f1 100644
--- a/src/mesa/main/image.c
+++ b/src/mesa/main/image.c
@@ -581,7 +581,6 @@ _mesa_is_legal_format_and_type(const struct gl_context *ctx,
case GL_UNSIGNED_SHORT:
case GL_INT:
case GL_UNSIGNED_INT:
- case GL_FLOAT:
case GL_UNSIGNED_SHORT_4_4_4_4:
case GL_UNSIGNED_SHORT_4_4_4_4_REV:
case GL_UNSIGNED_SHORT_5_5_5_1: