framebuffer: expose experimental cogl_get_draw_framebuffer

This renames the two internal functions _cogl_get_draw/read_buffer
as cogl_get_draw_framebuffer and _cogl_get_read_framebuffer. The
former is now also exposed as experimental API.
This commit is contained in:
Robert Bragg
2011-03-10 21:33:31 +00:00
parent aa1e45267b
commit 0b45110302
14 changed files with 70 additions and 70 deletions

View File

@ -434,7 +434,7 @@ _cogl_matrix_stack_prepare_for_flush (CoglMatrixStack *stack,
* always render upside down to offscreen buffers.
*/
if (mode == COGL_MATRIX_PROJECTION &&
cogl_is_offscreen (_cogl_get_draw_buffer ()))
cogl_is_offscreen (cogl_get_draw_framebuffer ()))
{
CoglMatrix flipped_projection;
CoglMatrix *projection =