mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-12-25 03:08:54 +01:00
temporal hack to pass tests (#227)
This commit is contained in:
parent
3e912ce7f8
commit
56844100c2
@ -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
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
Loading…
Reference in New Issue
Block a user