1
0
Fork 0

[cogl] flush matrices in _cogl_add_path_to_stencil_buffer

Before calling glRectf we need to ensure we flush the modelview and
projection matrices.
This commit is contained in:
Robert Bragg 2009-06-22 00:49:20 +01:00
parent f386b1f002
commit ca0a0e9dac

View file

@ -218,6 +218,8 @@ _cogl_add_path_to_stencil_buffer (floatVec2 nodes_min,
_cogl_current_matrix_push ();
_cogl_current_matrix_identity ();
_cogl_current_matrix_state_flush ();
glRectf (-1.0, -1.0, 1.0, 1.0);
glRectf (-1.0, -1.0, 1.0, 1.0);