[cogl/wip/virtual-framebuffer: 28/37] fix: optimize framebuffer state flush



commit 9b206853770ffbc013c102cf64aaa980291941a3
Author: Robert Bragg <robert linux intel com>
Date:   Tue Nov 22 21:28:53 2011 +0000

    fix: optimize framebuffer state flush

 cogl/cogl-framebuffer.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/cogl/cogl-framebuffer.c b/cogl/cogl-framebuffer.c
index f9bb28e..7608076 100644
--- a/cogl/cogl-framebuffer.c
+++ b/cogl/cogl-framebuffer.c
@@ -1588,6 +1588,7 @@ _cogl_framebuffer_flush_state (CoglFramebuffer *draw_buffer,
                                CoglFramebufferState state)
 {
   CoglContext *ctx = draw_buffer->context;
+  unsigned long differences;
 
   _COGL_RETURN_IF_FAIL (!cogl_is_virtual_framebuffer (draw_buffer));
   _COGL_RETURN_IF_FAIL (!cogl_is_virtual_framebuffer (read_buffer));



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