vbo: bind arrays only when necessary
[mesa.git] / src / mesa / main / vtxfmt.h
index 401eb80a0add52057752403695adf25d86d43589..8bbc54964daa789a68fba2522a5d312e9f7fd5d3 100644 (file)
 #define _VTXFMT_H_
 
 #include "compiler.h"
+#include "mfeatures.h"
 #include "mtypes.h"
 
 #if FEATURE_beginend
 
-extern void _mesa_init_exec_vtxfmt( struct gl_context *ctx );
-
 extern void _mesa_install_exec_vtxfmt( struct gl_context *ctx, const GLvertexformat *vfmt );
 extern void _mesa_install_save_vtxfmt( struct gl_context *ctx, const GLvertexformat *vfmt );
 
-extern void _mesa_restore_exec_vtxfmt( struct gl_context *ctx );
-
 #else /* FEATURE_beginend */
 
-static INLINE void
-_mesa_init_exec_vtxfmt( struct gl_context *ctx )
-{
-}
-
 static INLINE void
 _mesa_install_exec_vtxfmt( struct gl_context *ctx, const GLvertexformat *vfmt )
 {
@@ -62,11 +54,6 @@ _mesa_install_save_vtxfmt( struct gl_context *ctx, const GLvertexformat *vfmt )
 {
 }
 
-static INLINE void
-_mesa_restore_exec_vtxfmt( struct gl_context *ctx )
-{
-}
-
 #endif /* FEATURE_beginend */
 
 #endif /* _VTXFMT_H_ */