projects
/
profile
/
ivi
/
clutter.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f386b1f
)
[cogl] flush matrices in _cogl_add_path_to_stencil_buffer
author
Robert Bragg
<robert@linux.intel.com>
Sun, 21 Jun 2009 23:49:20 +0000
(
00:49
+0100)
committer
Robert Bragg
<robert@linux.intel.com>
Tue, 30 Jun 2009 16:13:37 +0000
(17:13 +0100)
Before calling glRectf we need to ensure we flush the modelview and
projection matrices.
clutter/cogl/gl/cogl-primitives.c
patch
|
blob
|
history
diff --git
a/clutter/cogl/gl/cogl-primitives.c
b/clutter/cogl/gl/cogl-primitives.c
index
35de5b6
..
d4ab7de
100644
(file)
--- a/
clutter/cogl/gl/cogl-primitives.c
+++ b/
clutter/cogl/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);