summaryrefslogtreecommitdiffstats
path: root/src/mesa/vbo/vbo_save.h
diff options
context:
space:
mode:
authorChia-I Wu <[email protected]>2010-05-12 13:37:37 +0800
committerChia-I Wu <[email protected]>2010-05-12 13:50:29 +0800
commit8d5c83c467f83b44f5f2e271c4f9cca2d45af518 (patch)
treecf170ea7055cac1f90333584361c0528a86b374b /src/mesa/vbo/vbo_save.h
parenteb5100accc888b9a9cfc24bc3d3452ea62a84c09 (diff)
mesa/es: Remove omit list.
vbo/vbo_save* are the last members on the omit list. Test FEATURE_dlist in the sources and remove the omit list.
Diffstat (limited to 'src/mesa/vbo/vbo_save.h')
-rw-r--r--src/mesa/vbo/vbo_save.h17
1 files changed, 16 insertions, 1 deletions
diff --git a/src/mesa/vbo/vbo_save.h b/src/mesa/vbo/vbo_save.h
index 86bbd24f7b1..82ba6c8afe7 100644
--- a/src/mesa/vbo/vbo_save.h
+++ b/src/mesa/vbo/vbo_save.h
@@ -153,6 +153,7 @@ struct vbo_save_context {
GLubyte *currentsz[VBO_ATTRIB_MAX];
};
+#if FEATURE_dlist
void vbo_save_init( GLcontext *ctx );
void vbo_save_destroy( GLcontext *ctx );
@@ -181,4 +182,18 @@ void vbo_save_playback_vertex_list( GLcontext *ctx, void *data );
void vbo_save_api_init( struct vbo_save_context *save );
-#endif
+#else /* FEATURE_dlist */
+
+static INLINE void
+vbo_save_init( GLcontext *ctx )
+{
+}
+
+static INLINE void
+vbo_save_destroy( GLcontext *ctx )
+{
+}
+
+#endif /* FEATURE_dlist */
+
+#endif /* VBO_SAVE_H */