mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2025-01-12 20:18:59 +01:00
graphics: Bug fix: TestImageTooManyFill didin't pass on some machines
Fixes #492
This commit is contained in:
parent
331e46a6ce
commit
7cb7b7b4ff
@ -211,6 +211,9 @@ func (c *fillCommand) Exec(indexOffsetInBytes int) error {
|
||||
|
||||
// Flush is needed after filling (#419)
|
||||
opengl.GetContext().Flush()
|
||||
// Mysterious, but binding texture is needed after filling
|
||||
// on some mechines like Photon 2 (#492).
|
||||
opengl.GetContext().BindTexture(c.dst.texture.native)
|
||||
return nil
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user