mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-02 12:18:09 +02:00
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:
parent
11f41ba2f9
commit
d415df207a
1 changed files with 0 additions and 1 deletions
|
|
@ -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");
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue