diff options
author | Samuel Pitoiset <[email protected]> | 2017-08-24 11:57:55 +0200 |
---|---|---|
committer | Samuel Pitoiset <[email protected]> | 2017-08-25 11:35:29 +0200 |
commit | 3906e8ab6477af71e5c84cae17ee1efa1b9e541d (patch) | |
tree | f913854bd209f0366a336e583cfe7b7f493fc06f /src/mesa/main/transformfeedback.c | |
parent | 088d5cb44f9003db97c18d571e2d9d2bad0b60de (diff) |
mesa: add KHR_no_error support to glBeginTransformFeedback()
Signed-off-by: Samuel Pitoiset <[email protected]>
Reviewed-by: Timothy Arceri <[email protected]>
Diffstat (limited to 'src/mesa/main/transformfeedback.c')
-rw-r--r-- | src/mesa/main/transformfeedback.c | 8 |
1 files changed, 8 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); |