summaryrefslogtreecommitdiffstats
path: root/src/mesa/main
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/main')
-rw-r--r--src/mesa/main/transformfeedback.c8
-rw-r--r--src/mesa/main/transformfeedback.h3
2 files changed, 11 insertions, 0 deletions
diff --git a/src/mesa/main/transformfeedback.c b/src/mesa/main/transformfeedback.c
index f59f5a3f76c..525c5b7a5b8 100644
--- a/src/mesa/main/transformfeedback.c
+++ b/src/mesa/main/transformfeedback.c
@@ -480,6 +480,14 @@ begin_transform_feedback(struct gl_context *ctx, GLenum mode, bool no_error)
void GLAPIENTRY
+_mesa_BeginTransformFeedback_no_error(GLenum mode)
+{
+ GET_CURRENT_CONTEXT(ctx);
+ begin_transform_feedback(ctx, mode, true);
+}
+
+
+void GLAPIENTRY
_mesa_BeginTransformFeedback(GLenum mode)
{
GET_CURRENT_CONTEXT(ctx);
diff --git a/src/mesa/main/transformfeedback.h b/src/mesa/main/transformfeedback.h
index 47639bb56fd..6f28d817ab6 100644
--- a/src/mesa/main/transformfeedback.h
+++ b/src/mesa/main/transformfeedback.h
@@ -53,6 +53,9 @@ _mesa_compute_max_transform_feedback_vertices( struct gl_context *ctx,
/*** GL_EXT_transform_feedback ***/
+void GLAPIENTRY
+_mesa_BeginTransformFeedback_no_error(GLenum mode);
+
extern void GLAPIENTRY
_mesa_BeginTransformFeedback(GLenum mode);