[cogl/wip/virtual-framebuffer: 26/37] fix: framebuffer: track front face winding like other fb state



commit aa25de285d45df897300a356354eec68f9076141
Author: Robert Bragg <robert linux intel com>
Date:   Tue Nov 22 21:27:56 2011 +0000

    fix: framebuffer: track front face winding like other fb state

 cogl/cogl-framebuffer.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/cogl/cogl-framebuffer.c b/cogl/cogl-framebuffer.c
index fe6e4fc..343d008 100644
--- a/cogl/cogl-framebuffer.c
+++ b/cogl/cogl-framebuffer.c
@@ -1565,7 +1565,7 @@ _cogl_framebuffer_flush_front_face_winding_state (CoglFramebuffer *framebuffer)
   if (!context->current_pipeline)
     return;
 
-  mode = _cogl_pipeline_get_cull_face_mode (ctx->current_pipeline);
+  mode = cogl_pipeline_get_cull_face_mode (context->current_pipeline);
 
   /* If the current CoglPipeline has a culling mode that doesn't care
    * about the winding we can avoid forcing an update of the state and



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