diff --git a/cogl/cogl/cogl-framebuffer-private.h b/cogl/cogl/cogl-framebuffer-private.h index 7bb02456d..09a79981c 100644 --- a/cogl/cogl/cogl-framebuffer-private.h +++ b/cogl/cogl/cogl-framebuffer-private.h @@ -371,18 +371,6 @@ _cogl_framebuffer_draw_indexed_attributes (CoglFramebuffer *framebuffer, int n_attributes, CoglDrawFlags flags); -gboolean -_cogl_framebuffer_try_creating_gl_fbo (CoglContext *ctx, - CoglTexture *texture, - int texture_level, - int texture_level_width, - int texture_level_height, - CoglTexture *depth_texture, - CoglFramebufferConfig *config, - CoglOffscreenAllocateFlags flags, - CoglGLFramebuffer *gl_framebuffer); - - void cogl_framebuffer_set_viewport4fv (CoglFramebuffer *framebuffer, float *viewport); diff --git a/cogl/cogl/driver/gl/cogl-framebuffer-gl.c b/cogl/cogl/driver/gl/cogl-framebuffer-gl.c index 3c91c9ff8..4eb914052 100644 --- a/cogl/cogl/driver/gl/cogl-framebuffer-gl.c +++ b/cogl/cogl/driver/gl/cogl-framebuffer-gl.c @@ -730,28 +730,6 @@ try_creating_fbo (CoglContext *ctx, return TRUE; } -gboolean -_cogl_framebuffer_try_creating_gl_fbo (CoglContext *ctx, - CoglTexture *texture, - int texture_level, - int texture_level_width, - int texture_level_height, - CoglTexture *depth_texture, - CoglFramebufferConfig *config, - CoglOffscreenAllocateFlags flags, - CoglGLFramebuffer *gl_framebuffer) -{ - return try_creating_fbo (ctx, - texture, - texture_level, - texture_level_width, - texture_level_height, - depth_texture, - config, - flags, - gl_framebuffer); -} - gboolean _cogl_offscreen_gl_allocate (CoglOffscreen *offscreen, GError **error)