TINYGL: Do not clear matrix_model_projection_updated in gl_matrix_update.
Changing texture or color matrices must not prevent a model projection update, even if it is done last.
This commit is contained in:
parent
f75767fc78
commit
93d23656fa
1 changed files with 1 additions and 1 deletions
|
@ -40,7 +40,7 @@ void gl_print_matrix(const float *m) {
|
|||
}
|
||||
|
||||
static inline void gl_matrix_update(GLContext *c) {
|
||||
c->matrix_model_projection_updated = (c->matrix_mode <= 1);
|
||||
c->matrix_model_projection_updated |= (c->matrix_mode <= 1);
|
||||
}
|
||||
|
||||
void glopMatrixMode(GLContext *c, GLParam *p) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue