TINYGL: Always check if texture matrix need applying.
matrix_model_projection_updated is not set when texture matrix alone is modified.
This commit is contained in:
parent
36c45b7f0b
commit
f75767fc78
1 changed files with 3 additions and 3 deletions
|
@ -113,11 +113,11 @@ void glopBegin(GLContext *c, GLParam *p) {
|
|||
c->matrix_model_projection_no_w_transform = 1;
|
||||
}
|
||||
|
||||
// test if the texture matrix is not Identity
|
||||
c->apply_texture_matrix = !c->matrix_stack_ptr[2]->isIdentity();
|
||||
|
||||
c->matrix_model_projection_updated = 0;
|
||||
}
|
||||
// test if the texture matrix is not Identity
|
||||
c->apply_texture_matrix = !c->matrix_stack_ptr[2]->isIdentity();
|
||||
|
||||
// viewport
|
||||
if (c->viewport.updated) {
|
||||
gl_eval_viewport(c);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue