mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-04-30 23:28:06 +02:00
mesa: remove spurious flush in _mesa_Viewport()
I don't think this is actually required, if the viewport values are different from the ones stored in the context, we already flush and trigger _NEW_VIEWPORT in set_viewport_no_notify(). Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Reviewed-by: Brian Paul <brianp@vmware.com>
This commit is contained in:
parent
2f76b45415
commit
7f7487f262
1 changed files with 0 additions and 1 deletions
|
|
@ -129,7 +129,6 @@ void GLAPIENTRY
|
|||
_mesa_Viewport(GLint x, GLint y, GLsizei width, GLsizei height)
|
||||
{
|
||||
GET_CURRENT_CONTEXT(ctx);
|
||||
FLUSH_VERTICES(ctx, 0);
|
||||
|
||||
if (MESA_VERBOSE & VERBOSE_API)
|
||||
_mesa_debug(ctx, "glViewport %d %d %d %d\n", x, y, width, height);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue