Mesa (master): vbo: move another line of code after declarations

Brian Paul brianp at kemper.freedesktop.org
Tue Nov 27 22:35:16 UTC 2012


Module: Mesa
Branch: master
Commit: f75acabb9640bcbd3a8e6061695da3d01f55a3ef
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=f75acabb9640bcbd3a8e6061695da3d01f55a3ef

Author: Brian Paul <brianp at vmware.com>
Date:   Tue Nov 27 15:34:13 2012 -0700

vbo: move another line of code after declarations

Signed-off-by: Brian Paul <brianp at vmware.com>

---

 src/mesa/vbo/vbo_attrib_tmp.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/mesa/vbo/vbo_attrib_tmp.h b/src/mesa/vbo/vbo_attrib_tmp.h
index adb22d7..02c283d 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]);
 }
 




More information about the mesa-commit mailing list