[cogl/wip/virtual-framebuffer: 34/37] fix: framebuffer: add clip stack methods



commit af244805044c3ce15d63790ba601060025b6ba30
Author: Robert Bragg <robert linux intel com>
Date:   Tue Nov 22 22:23:46 2011 +0000

    fix: framebuffer: add clip stack methods

 cogl/cogl-framebuffer.c |    5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)
---
diff --git a/cogl/cogl-framebuffer.c b/cogl/cogl-framebuffer.c
index 84b4a70..62cb132 100644
--- a/cogl/cogl-framebuffer.c
+++ b/cogl/cogl-framebuffer.c
@@ -2309,8 +2309,7 @@ cogl_framebuffer_push_scissor_clip (CoglFramebuffer *framebuffer,
 
   clip_state->stacks->data =
     _cogl_clip_stack_push_window_rectangle (clip_state->stacks->data,
-                                            x_offset, y_offset,
-                                            width, height);
+                                            x, y, width, height);
 
   if (framebuffer->context->current_draw_buffer == framebuffer)
     framebuffer->context->current_draw_buffer_changes |=
@@ -2360,7 +2359,7 @@ cogl_framebuffer_push_path_clip (CoglFramebuffer *framebuffer,
 
 void
 cogl_framebuffer_push_primitive_clip (CoglFramebuffer *framebuffer,
-                                      CoglPrimitive *primitive
+                                      CoglPrimitive *primitive,
                                       float bounds_x1,
                                       float bounds_y1,
                                       float bounds_x2,



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]