Skip to content

mesa: Fix multiple matrix pops in a row

Alyssa Rosenzweig requested to merge alyssa/mesa:mesa/pops into main

When we pop a matrix, we update stack->Top, which means that stack->Top has changed since last push. We cannot skip subsequent pops or we'll get an incorrect matrix.

Fixes Neverball rendering.

Close: #7502 (closed) Fixes: e6ecd221 ("mesa: make glPopMatrix a no-op if the matrix hasn't changed") Signed-off-by: Alyssa Rosenzweig alyssa@collabora.com

Merge request reports