summaryrefslogtreecommitdiff
path: root/src/mesa
diff options
context:
space:
mode:
authorMarek Olšák <marek.olsak@amd.com>2021-05-25 17:32:29 -0400
committerMarge Bot <eric+marge@anholt.net>2021-05-28 22:15:38 +0000
commitd415df207a60155525365f851fc19b994f709533 (patch)
treecc00c4519be6ed0cf5a7bd5f78f1e18432f4cc66 /src/mesa
parent11f41ba2f9c37d172fda3c2af3a2e68c9511d7da (diff)
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>
Diffstat (limited to 'src/mesa')
-rw-r--r--src/mesa/main/attrib.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/mesa/main/attrib.c b/src/mesa/main/attrib.c
index b8bb8a153b4..e5672a9ee5a 100644
--- a/src/mesa/main/attrib.c
+++ b/src/mesa/main/attrib.c
@@ -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");