[Mesa-dev] [PATCH 1/4] mesa: remove unused _mesa_validate_transform_feedback_buffers()
Samuel Pitoiset
samuel.pitoiset at gmail.com
Thu Aug 24 11:43:18 UTC 2017
Signed-off-by: Samuel Pitoiset <samuel.pitoiset at gmail.com>
---
src/mesa/main/transformfeedback.c | 15 ---------------
src/mesa/main/transformfeedback.h | 4 ----
2 files changed, 19 deletions(-)
diff --git a/src/mesa/main/transformfeedback.c b/src/mesa/main/transformfeedback.c
index fdc3152a09..9ffbfe7e6c 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 cb3bb6754a..c59ade7f0a 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);
--
2.14.1
More information about the mesa-dev
mailing list