From: Samuel Pitoiset Date: Thu, 24 Aug 2017 11:43:18 +0000 (+0200) Subject: mesa: remove unused _mesa_validate_transform_feedback_buffers() X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=dd53bdd5aa6e8d858da5dbc24346f6d6f4ccab47;p=mesa.git mesa: remove unused _mesa_validate_transform_feedback_buffers() Signed-off-by: Samuel Pitoiset Reviewed-by: Timothy Arceri --- diff --git a/src/mesa/main/transformfeedback.c b/src/mesa/main/transformfeedback.c index fdc3152a091..9ffbfe7e6c6 100644 --- a/src/mesa/main/transformfeedback.c +++ b/src/mesa/main/transformfeedback.c @@ -120,21 +120,6 @@ reference_transform_feedback_object(struct gl_transform_feedback_object **ptr, } -/** - * Check that all the buffer objects currently bound for transform - * feedback actually exist. Raise a GL_INVALID_OPERATION error if - * any buffers are missing. - * \return GL_TRUE for success, GL_FALSE if error - */ -GLboolean -_mesa_validate_transform_feedback_buffers(struct gl_context *ctx) -{ - /* XXX to do */ - return GL_TRUE; -} - - - /** * Per-context init for transform feedback. */ diff --git a/src/mesa/main/transformfeedback.h b/src/mesa/main/transformfeedback.h index cb3bb6754aa..c59ade7f0a8 100644 --- a/src/mesa/main/transformfeedback.h +++ b/src/mesa/main/transformfeedback.h @@ -42,10 +42,6 @@ _mesa_init_transform_feedback(struct gl_context *ctx); extern void _mesa_free_transform_feedback(struct gl_context *ctx); -extern GLboolean -_mesa_validate_transform_feedback_buffers(struct gl_context *ctx); - - extern void _mesa_init_transform_feedback_functions(struct dd_function_table *driver);