summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/varray.h
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2009-06-19 17:58:47 -0600
committerBrian Paul <[email protected]>2009-06-19 18:11:52 -0600
commit12cf98f5fc5eaa4743134387ce3f8e584aa20bc4 (patch)
treee5cda3e5920ae3102319844fd594c2e60495dff4 /src/mesa/main/varray.h
parentbda551898a09e4a07491dcf394bb2981dced0012 (diff)
mesa: move vertex array objects from shared state to per-context
The ARB version requires VAOs to be per-context while the Apple extension was ambiguous.
Diffstat (limited to 'src/mesa/main/varray.h')
-rw-r--r--src/mesa/main/varray.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mesa/main/varray.h b/src/mesa/main/varray.h
index 46cc3ee3425..d4d505ae049 100644
--- a/src/mesa/main/varray.h
+++ b/src/mesa/main/varray.h
@@ -166,10 +166,14 @@ _mesa_print_arrays(GLcontext *ctx);
extern void
_mesa_init_varray( GLcontext * ctx );
+extern void
+_mesa_free_varray_data(GLcontext *ctx);
+
#else
/** No-op */
#define _mesa_init_varray( c ) ((void)0)
+#define _mesa_free_varray_data( c ) ((void)0)
#endif