[cogl/wip/gles2-context: 12/12] framebuffer: Remove unused code
- From: Tomeu Vizoso <tomeuv src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [cogl/wip/gles2-context: 12/12] framebuffer: Remove unused code
- Date: Thu, 29 Dec 2011 09:55:45 +0000 (UTC)
commit 92c55e61fbb89992e86bdb0a1057dc22168917f9
Author: Tomeu Vizoso <tomeu vizoso collabora com>
Date: Wed Dec 28 18:36:15 2011 +0100
framebuffer: Remove unused code
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 995a4da..4fd65e3 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
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]