mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-09 04:38:03 +02:00
st/mesa: remove redundant calls to _mesa_set_vp_override()
Called from core Mesa now.
This commit is contained in:
parent
c02b38d169
commit
1359d69f11
1 changed files with 2 additions and 4 deletions
|
|
@ -804,8 +804,8 @@ st_DrawPixels(GLcontext *ctx, GLint x, GLint y, GLsizei width, GLsizei height,
|
|||
return;
|
||||
}
|
||||
|
||||
_mesa_set_vp_override( ctx, TRUE );
|
||||
_mesa_update_state( ctx );
|
||||
/* Mesa state should be up to date by now */
|
||||
assert(ctx->NewState == 0x0);
|
||||
|
||||
st_validate_state(st);
|
||||
|
||||
|
|
@ -833,8 +833,6 @@ st_DrawPixels(GLcontext *ctx, GLint x, GLint y, GLsizei width, GLsizei height,
|
|||
pipe_texture_reference(&pt, NULL);
|
||||
}
|
||||
}
|
||||
|
||||
_mesa_set_vp_override( ctx, FALSE );
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue