mesa: remove stray GL_FLOAT case in _mesa_is_legal_format_and_type()
authorBrian Paul <brianp@vmware.com>
Mon, 8 Nov 2010 01:33:53 +0000 (18:33 -0700)
committerBrian Paul <brianp@vmware.com>
Mon, 8 Nov 2010 01:33:53 +0000 (18:33 -0700)
src/mesa/main/image.c

index 6b12f6a..df1527b 100644 (file)
@@ -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: