diff options
author | Marek Olšák <[email protected]> | 2017-06-10 00:52:51 +0200 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2017-06-22 01:51:02 +0200 |
commit | a9315627bc35d5447484a804ecd891c8711a49d3 (patch) | |
tree | 9a76590386f9487557ae3cc647f214ae92b0c6fa /src/mesa/main | |
parent | 95d9fdc6f8c1880ec7c814b0d2e6c823e6b0586b (diff) |
mesa: make _mesa_set_varying_vp_inputs a no-op in GL core profile
just don't set _NEW_VARYING_VP_INPUTS.
Reviewed-by: Nicolai Hähnle <[email protected]>
Reviewed-by: Brian Paul <[email protected]>
Reviewed-by: Timothy Arceri <[email protected]>
Diffstat (limited to 'src/mesa/main')
-rw-r--r-- | src/mesa/main/state.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mesa/main/state.c b/src/mesa/main/state.c index ebdc1065da8..2b4d8d46ea0 100644 --- a/src/mesa/main/state.c +++ b/src/mesa/main/state.c @@ -406,6 +406,10 @@ void _mesa_set_varying_vp_inputs( struct gl_context *ctx, GLbitfield64 varying_inputs ) { + if (ctx->API != API_OPENGL_COMPAT && + ctx->API != API_OPENGLES) + return; + if (ctx->varying_vp_inputs != varying_inputs) { ctx->varying_vp_inputs = varying_inputs; |