diff options
Diffstat (limited to 'src')
-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; |