vbo: move another line of code after declarations
authorBrian Paul <brianp@vmware.com>
Tue, 27 Nov 2012 22:34:13 +0000 (15:34 -0700)
committerBrian Paul <brianp@vmware.com>
Tue, 27 Nov 2012 22:34:56 +0000 (15:34 -0700)
Signed-off-by: Brian Paul <brianp@vmware.com>
src/mesa/vbo/vbo_attrib_tmp.h

index adb22d7a57b357409201799d3f0597e7d5355d0c..02c283da419933930e24f2cf7409eac029e25a13 100644 (file)
@@ -1020,8 +1020,8 @@ static void GLAPIENTRY
 TAG(MultiTexCoordP4uiv)(GLenum target, GLenum type, const GLuint *coords)
 {
    GET_CURRENT_CONTEXT(ctx);
-   ERROR_IF_NOT_PACKED_TYPE(ctx, type, "glMultiTexCoordP4uiv");
    GLuint attr = (target & 0x7) + VBO_ATTRIB_TEX0;
+   ERROR_IF_NOT_PACKED_TYPE(ctx, type, "glMultiTexCoordP4uiv");
    ATTR_UI(ctx, 4, type, 0, attr, coords[0]);
 }