From: Mathias Fröhlich Date: Mon, 29 Oct 2018 05:13:19 +0000 (+0100) Subject: vbo: Remove unused vbo_save_fallback function. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=5b41504f66bbe7090ce77d70b17fc3fc36c50533;p=mesa.git vbo: Remove unused vbo_save_fallback function. Reviewed-by: Brian Paul Signed-off-by: Mathias Fröhlich --- 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: */