From 56844100c25e395e91e263811d2be023f1c9723c Mon Sep 17 00:00:00 2001 From: Hajime Hoshi Date: Fri, 3 Jun 2016 13:16:43 +0900 Subject: [PATCH] temporal hack to pass tests (#227) --- internal/graphics/opengl/context.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/internal/graphics/opengl/context.go b/internal/graphics/opengl/context.go index 7da4f6fd1..f9454a712 100644 --- a/internal/graphics/opengl/context.go +++ b/internal/graphics/opengl/context.go @@ -38,8 +38,8 @@ type Context struct { } func (c *Context) bindFramebuffer(f Framebuffer) { - if c.lastFramebuffer != f { - c.bindFramebufferImpl(f) - c.lastFramebuffer = f - } + // TODO: This is a temporal hack to pass the tests. + // Fix the bug (#227). + c.bindFramebufferImpl(f) + c.lastFramebuffer = f }