[cogl] avoid using the journal in _cogl_add_path_to_stencil_buffer
authorRobert Bragg <robert@linux.intel.com>
Sun, 21 Jun 2009 23:05:02 +0000 (00:05 +0100)
committerRobert Bragg <robert@linux.intel.com>
Tue, 30 Jun 2009 16:13:37 +0000 (17:13 +0100)
commit7b7787b050a1dd245dea396335ddf96662c6a570
tree0e83c27e6b982c1fca8a4290e040e94176256e7b
parent6562f3224a558b224b9076fe794547bfc9bb2af5
[cogl] avoid using the journal in _cogl_add_path_to_stencil_buffer

Using cogl_rectangle (and thus the journal) in
_cogl_add_path_to_stencil_buffer means we have to consider all the state
that the journal may change in case it may interfer with the direct GL calls
used.  This has proven to be error prone and in this case the journal is an
unnecissary overhead.  We now simply call glRectf instead of using
cogl_rectangle.
clutter/cogl/gl/cogl-primitives.c