mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2025-01-24 18:02:02 +01:00
graphics: Bug fix: TestImageTooManyFill didin't pass on some machines (reland)
Fixes #492
This commit is contained in:
parent
f1bb0f1a70
commit
24d7487fc7
@ -211,6 +211,10 @@ 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).
|
||||
var t opengl.Texture
|
||||
opengl.GetContext().BindTexture(t)
|
||||
return nil
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user