diff --git a/gl/cogl-primitives.c b/gl/cogl-primitives.c index 35de5b684..d4ab7de0c 100644 --- a/gl/cogl-primitives.c +++ b/gl/cogl-primitives.c @@ -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);