mesa: consider glPushMatrix a no-op change from the driver perspective

It doesn't change any states.

Reviewed-by: Adam Jackson <ajax@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6946>
This commit is contained in:
Marek Olšák
2020-10-05 21:01:31 -04:00
committed by Marge Bot
parent b1982fd3d2
commit f5d17070be

View File

@@ -326,7 +326,6 @@ push_matrix(struct gl_context *ctx, struct gl_matrix_stack *stack,
&stack->Stack[stack->Depth] );
stack->Depth++;
stack->Top = &(stack->Stack[stack->Depth]);
ctx->NewState |= stack->DirtyFlag;
}