Mesa (master): mesa: fix hole in vertex_array_object

Dave Airlie airlied at kemper.freedesktop.org
Fri Mar 20 22:15:03 UTC 2015


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

Author: Dave Airlie <airlied at redhat.com>
Date:   Fri Mar 20 17:13:03 2015 +1000

mesa: fix hole in vertex_array_object

this just removes 4 bytes from this object.

Acked-by: Brian Paul <brianp at vmware.com>
Reviewed-by: Alex Deucher alexander.deucher at amd.com>
Signed-off-by: Dave Airlie <airlied at redhat.com>

---

 src/mesa/main/mtypes.h |    4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/src/mesa/main/mtypes.h b/src/mesa/main/mtypes.h
index 587507b..68a5d5c 100644
--- a/src/mesa/main/mtypes.h
+++ b/src/mesa/main/mtypes.h
@@ -1605,9 +1605,11 @@ struct gl_vertex_array_object
 {
    /** Name of the VAO as received from glGenVertexArray. */
    GLuint Name;
-   GLchar *Label;       /**< GL_KHR_debug */
 
    GLint RefCount;
+
+   GLchar *Label;       /**< GL_KHR_debug */
+
    mtx_t Mutex;
 
    /**




More information about the mesa-commit mailing list