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:
Vincent Pelletier 2016-07-10 13:16:20 +00:00
parent f75767fc78
commit 93d23656fa

View file

@ -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) {