From: Samuel Pitoiset Date: Thu, 24 Aug 2017 10:10:57 +0000 (+0200) Subject: mesa: add KHR_no_error support to glResumeTransformFeedback() X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=4b5140d20bd0461acf90c92060d8a6180555c78a;p=mesa.git mesa: add KHR_no_error support to glResumeTransformFeedback() Signed-off-by: Samuel Pitoiset Reviewed-by: Timothy Arceri --- diff --git a/src/mapi/glapi/gen/EXT_transform_feedback.xml b/src/mapi/glapi/gen/EXT_transform_feedback.xml index b5ba5803886..7be87f710a8 100644 --- a/src/mapi/glapi/gen/EXT_transform_feedback.xml +++ b/src/mapi/glapi/gen/EXT_transform_feedback.xml @@ -105,7 +105,7 @@ - + diff --git a/src/mesa/main/transformfeedback.c b/src/mesa/main/transformfeedback.c index 02867b5b890..b2cf30cedbd 100644 --- a/src/mesa/main/transformfeedback.c +++ b/src/mesa/main/transformfeedback.c @@ -1251,6 +1251,14 @@ resume_transform_feedback(struct gl_context *ctx, } +void GLAPIENTRY +_mesa_ResumeTransformFeedback_no_error(void) +{ + GET_CURRENT_CONTEXT(ctx); + resume_transform_feedback(ctx, ctx->TransformFeedback.CurrentObject); +} + + void GLAPIENTRY _mesa_ResumeTransformFeedback(void) { diff --git a/src/mesa/main/transformfeedback.h b/src/mesa/main/transformfeedback.h index 645b71862c2..930c88a1f2b 100644 --- a/src/mesa/main/transformfeedback.h +++ b/src/mesa/main/transformfeedback.h @@ -126,6 +126,9 @@ _mesa_PauseTransformFeedback_no_error(void); extern void GLAPIENTRY _mesa_PauseTransformFeedback(void); +void GLAPIENTRY +_mesa_ResumeTransformFeedback_no_error(void); + extern void GLAPIENTRY _mesa_ResumeTransformFeedback(void);