aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/vbo/vbo_save_draw.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/vbo/vbo_save_draw.c')
-rw-r--r--src/mesa/vbo/vbo_save_draw.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/mesa/vbo/vbo_save_draw.c b/src/mesa/vbo/vbo_save_draw.c
index a7cf29acd4f..148ea283312 100644
--- a/src/mesa/vbo/vbo_save_draw.c
+++ b/src/mesa/vbo/vbo_save_draw.c
@@ -38,6 +38,9 @@
#include "vbo_context.h"
+#if FEATURE_dlist
+
+
/*
* After playback, copy everything but the position from the
* last vertex to the saved state
@@ -288,3 +291,6 @@ void vbo_save_playback_vertex_list( GLcontext *ctx, void *data )
*/
_playback_copy_to_current( ctx, node );
}
+
+
+#endif /* FEATURE_dlist */