diff --git a/cogl/cogl/cogl-offscreen-private.h b/cogl/cogl/cogl-offscreen-private.h index dabc8697b..ae2f55bd8 100644 --- a/cogl/cogl/cogl-offscreen-private.h +++ b/cogl/cogl/cogl-offscreen-private.h @@ -51,8 +51,6 @@ struct _CoglOffscreen CoglTexture *texture; int texture_level; - CoglOffscreenAllocateFlags allocation_flags; - /* FIXME: _cogl_offscreen_new_with_texture_full should be made to use * fb->config to configure if we want a depth or stencil buffer so * we can get rid of these flags */ diff --git a/cogl/cogl/driver/gl/cogl-framebuffer-gl.c b/cogl/cogl/driver/gl/cogl-framebuffer-gl.c index 3a540e4b6..d1eda9206 100644 --- a/cogl/cogl/driver/gl/cogl-framebuffer-gl.c +++ b/cogl/cogl/driver/gl/cogl-framebuffer-gl.c @@ -831,11 +831,6 @@ _cogl_offscreen_gl_allocate (CoglOffscreen *offscreen, ctx->have_last_offscreen_allocate_flags = TRUE; } - /* Save the flags we managed to successfully allocate the - * renderbuffers with in case we need to make renderbuffers for a - * GLES2 context later */ - offscreen->allocation_flags = flags; - return TRUE; } else