summaryrefslogtreecommitdiffstats
path: root/src/mesa/vbo/vbo_private.h
diff options
context:
space:
mode:
authorMathias Fröhlich <[email protected]>2018-11-17 07:13:11 +0100
committerMathias Fröhlich <[email protected]>2018-11-21 06:27:19 +0100
commit73d2d313e9fafc8e8a6ac54af1da18d476821e7a (patch)
tree90a160575b5cddae9b439bbc3cae3c1460fd735f /src/mesa/vbo/vbo_private.h
parentea9f95e2a67eca90bb84eea24e7b4b804b3b1345 (diff)
mesa: Rename gl_vertex_array_object::_Enabled -> Enabled.
Mark the up to now derived bitfield value now as primary value by removing the underscore. Reviewed-by: Brian Paul <[email protected]> Reviewed-by: Marek Olšák <[email protected]> Signed-off-by: Mathias Fröhlich <[email protected]>
Diffstat (limited to 'src/mesa/vbo/vbo_private.h')
-rw-r--r--src/mesa/vbo/vbo_private.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/vbo/vbo_private.h b/src/mesa/vbo/vbo_private.h
index 86f6b41b793..1fc2ab48fd1 100644
--- a/src/mesa/vbo/vbo_private.h
+++ b/src/mesa/vbo/vbo_private.h
@@ -224,7 +224,7 @@ _vbo_set_attrib_format(struct gl_context *ctx,
* to the VAO. But but that is done already unconditionally in
* _mesa_update_array_format called above.
*/
- assert((vao->NewArrays | ~vao->_Enabled) & VERT_BIT(attr));
+ assert((vao->NewArrays | ~vao->Enabled) & VERT_BIT(attr));
vao->VertexAttrib[attr].Ptr = ADD_POINTERS(buffer_offset, offset);
}