diff --git a/cogl/cogl/cogl-framebuffer-private.h b/cogl/cogl/cogl-framebuffer-private.h index 09a79981c..579fdec0c 100644 --- a/cogl/cogl/cogl-framebuffer-private.h +++ b/cogl/cogl/cogl-framebuffer-private.h @@ -332,12 +332,6 @@ _cogl_offscreen_new_with_texture_full (CoglTexture *texture, CoglOffscreenFlags create_flags, int level); -void -_cogl_framebuffer_push_projection (CoglFramebuffer *framebuffer); - -void -_cogl_framebuffer_pop_projection (CoglFramebuffer *framebuffer); - void _cogl_framebuffer_save_clip_stack (CoglFramebuffer *framebuffer); diff --git a/cogl/cogl/cogl-framebuffer.c b/cogl/cogl/cogl-framebuffer.c index 917efe1a7..49403ff9b 100644 --- a/cogl/cogl/cogl-framebuffer.c +++ b/cogl/cogl/cogl-framebuffer.c @@ -1599,30 +1599,6 @@ cogl_framebuffer_orthographic (CoglFramebuffer *framebuffer, COGL_FRAMEBUFFER_STATE_PROJECTION; } -void -_cogl_framebuffer_push_projection (CoglFramebuffer *framebuffer) -{ - CoglMatrixStack *projection_stack = - _cogl_framebuffer_get_projection_stack (framebuffer); - cogl_matrix_stack_push (projection_stack); - - if (framebuffer->context->current_draw_buffer == framebuffer) - framebuffer->context->current_draw_buffer_changes |= - COGL_FRAMEBUFFER_STATE_PROJECTION; -} - -void -_cogl_framebuffer_pop_projection (CoglFramebuffer *framebuffer) -{ - CoglMatrixStack *projection_stack = - _cogl_framebuffer_get_projection_stack (framebuffer); - cogl_matrix_stack_pop (projection_stack); - - if (framebuffer->context->current_draw_buffer == framebuffer) - framebuffer->context->current_draw_buffer_changes |= - COGL_FRAMEBUFFER_STATE_PROJECTION; -} - void cogl_framebuffer_get_modelview_matrix (CoglFramebuffer *framebuffer, CoglMatrix *matrix)