From: Brian Paul Date: Tue, 27 Nov 2012 22:34:13 +0000 (-0700) Subject: vbo: move another line of code after declarations X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f75acabb9640bcbd3a8e6061695da3d01f55a3ef;p=mesa.git vbo: move another line of code after declarations Signed-off-by: Brian Paul --- diff --git a/src/mesa/vbo/vbo_attrib_tmp.h b/src/mesa/vbo/vbo_attrib_tmp.h index adb22d7a57b..02c283da419 100644 --- a/src/mesa/vbo/vbo_attrib_tmp.h +++ b/src/mesa/vbo/vbo_attrib_tmp.h @@ -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]); }