framebuffer: Remove unused code

This commit is contained in:
Tomeu Vizoso 2011-12-28 18:36:15 +01:00
parent 023804d4e9
commit 92c55e61fb
1 changed files with 2 additions and 8 deletions

View File

@ -1407,14 +1407,8 @@ bind_gl_framebuffer (CoglContext *ctx,
{
if (framebuffer->type == COGL_FRAMEBUFFER_TYPE_OFFSCREEN)
{
if (framebuffer->gles2_context == NULL && FALSE)
{
const CoglWinsysVtable *winsys = ctx->display->renderer->winsys_vtable;
winsys->make_current (NULL, NULL);
}
GE (ctx, glBindFramebuffer (target,
COGL_OFFSCREEN (framebuffer)->fbo_handle));
GE (ctx, glBindFramebuffer (target,
COGL_OFFSCREEN (framebuffer)->fbo_handle));
}
else
{