temporal hack to pass tests (#227)

This commit is contained in:
Hajime Hoshi 2016-06-03 13:16:43 +09:00
parent 3e912ce7f8
commit 56844100c2

View File

@ -38,8 +38,8 @@ type Context struct {
} }
func (c *Context) bindFramebuffer(f Framebuffer) { func (c *Context) bindFramebuffer(f Framebuffer) {
if c.lastFramebuffer != f { // TODO: This is a temporal hack to pass the tests.
// Fix the bug (#227).
c.bindFramebufferImpl(f) c.bindFramebufferImpl(f)
c.lastFramebuffer = f c.lastFramebuffer = f
} }
}