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 6b12f6a48c625f87a4e5079b4070206f13493a9a..df1527b47f1b1ec899d58b615c92656e07618709 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: