From 5b41504f66bbe7090ce77d70b17fc3fc36c50533 Mon Sep 17 00:00:00 2001 From: Mathias Fröhlich Date: Mon, 29 Oct 2018 06:13:19 +0100 Subject: vbo: Remove unused vbo_save_fallback function. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Reviewed-by: Brian Paul Signed-off-by: Mathias Fröhlich --- src/mesa/vbo/vbo_save.c | 15 --------------- src/mesa/vbo/vbo_save.h | 1 - 2 files changed, 16 deletions(-) (limited to 'src') diff --git a/src/mesa/vbo/vbo_save.c b/src/mesa/vbo/vbo_save.c index 73bc49a24bf..7e77123ba8c 100644 --- a/src/mesa/vbo/vbo_save.c +++ b/src/mesa/vbo/vbo_save.c @@ -71,18 +71,3 @@ void vbo_save_destroy( struct gl_context *ctx ) save->vertex_store = NULL; } } - - - - -/* Note that this can occur during the playback of a display list: - */ -void vbo_save_fallback( struct gl_context *ctx, GLboolean fallback ) -{ - struct vbo_save_context *save = &vbo_context(ctx)->save; - - if (fallback) - save->replay_flags |= VBO_SAVE_FALLBACK; - else - save->replay_flags &= ~VBO_SAVE_FALLBACK; -} diff --git a/src/mesa/vbo/vbo_save.h b/src/mesa/vbo/vbo_save.h index 2a1922461dd..37f883e9de1 100644 --- a/src/mesa/vbo/vbo_save.h +++ b/src/mesa/vbo/vbo_save.h @@ -197,7 +197,6 @@ struct vbo_save_context { void vbo_save_init(struct gl_context *ctx); void vbo_save_destroy(struct gl_context *ctx); -void vbo_save_fallback(struct gl_context *ctx, GLboolean fallback); /* save_loopback.c: */ -- cgit v1.2.3