diff options
author | Tomeu Vizoso <tomeu.vizoso@collabora.com> | 2011-12-28 18:36:15 +0100 |
---|---|---|
committer | Tomeu Vizoso <tomeu.vizoso@collabora.com> | 2011-12-28 18:36:15 +0100 |
commit | 92c55e61fbb89992e86bdb0a1057dc22168917f9 (patch) | |
tree | 1b3fdba78ee62ad991a73cacacdfcd938603756d | |
parent | 023804d4e9e979d333b63889e26372edc2be1b0c (diff) | |
download | cogl-wip/gles2-context.tar.gz |
framebuffer: Remove unused codewip/gles2-context
-rw-r--r-- | cogl/cogl-framebuffer.c | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/cogl/cogl-framebuffer.c b/cogl/cogl-framebuffer.c index 995a4da2..4fd65e32 100644 --- a/cogl/cogl-framebuffer.c +++ b/cogl/cogl-framebuffer.c @@ -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 { |