mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 03:08:05 +02:00
make sure texture matrix is updated often enough with texture rectangles
This commit is contained in:
parent
6ff023fe3a
commit
ed2f8635f0
1 changed files with 2 additions and 0 deletions
|
|
@ -1145,6 +1145,8 @@ static GLboolean update_tex_common( GLcontext *ctx, int unit )
|
|||
|
||||
if (t->dirty_state & (1<<unit)) {
|
||||
import_tex_obj_state( rmesa, unit, t );
|
||||
/* may need to update texture matrix (for texrect adjustments) */
|
||||
rmesa->NewGLState |= _NEW_TEXTURE_MATRIX;
|
||||
}
|
||||
|
||||
if (rmesa->recheck_texgen[unit]) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue