mesa: don't call FLUSH_VERTICES in glPopClientAttrib
These states don't affect draws, so any enqueued Begin/End vertices don't need flushing. Acked-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10994>
This commit is contained in:
@@ -1505,7 +1505,6 @@ _mesa_PopClientAttrib(void)
|
||||
struct gl_client_attrib_node *head;
|
||||
|
||||
GET_CURRENT_CONTEXT(ctx);
|
||||
FLUSH_VERTICES(ctx, 0, 0);
|
||||
|
||||
if (ctx->ClientAttribStackDepth == 0) {
|
||||
_mesa_error(ctx, GL_STACK_UNDERFLOW, "glPopClientAttrib");
|
||||
|
||||
Reference in New Issue
Block a user