[Mesa-dev] [PATCH 12/14] mesa: fix hole in vertex_array_object

Dave Airlie airlied at gmail.com
Fri Mar 20 00:30:07 PDT 2015


From: Dave Airlie <airlied at redhat.com>

this just removes 4 bytes from this object.

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;
 
    /**
-- 
2.1.0



More information about the mesa-dev mailing list