diff options
author | Keith Whitwell <[email protected]> | 2006-11-16 02:33:38 +0000 |
---|---|---|
committer | Keith Whitwell <[email protected]> | 2006-11-16 02:33:38 +0000 |
commit | b97947972193b6b004a0ee49da31146230d43dd8 (patch) | |
tree | dad15e47c8ceb15776e3295f2a25c097f0d60a45 /src/mesa/main/api_arrayelt.h | |
parent | 82eeb62a31ec96a55ba2349397b8e8549e07a6bb (diff) |
Make sure vbo's are mapped before accessing their contents in
api_arrayelt.c. Reported by Haihao Xiang.
Diffstat (limited to 'src/mesa/main/api_arrayelt.h')
-rw-r--r-- | src/mesa/main/api_arrayelt.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/mesa/main/api_arrayelt.h b/src/mesa/main/api_arrayelt.h index 1c0af9f3ea8..e621724fb29 100644 --- a/src/mesa/main/api_arrayelt.h +++ b/src/mesa/main/api_arrayelt.h @@ -34,4 +34,9 @@ extern void _ae_destroy_context( GLcontext *ctx ); extern void _ae_invalidate_state( GLcontext *ctx, GLuint new_state ); extern void GLAPIENTRY _ae_loopback_array_elt( GLint elt ); +/* May optionally be called before a batch of element calls: + */ +extern void _ae_map_vbos( GLcontext *ctx ); +extern void _ae_unmap_vbos( GLcontext *ctx ); + #endif |