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 <nicolai.haehnle@amd.com> Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com>
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user