mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-12-24 18:58:54 +01:00
example:shapes Bug fix: Structs containing js.Object can't be compared again
This commit is contained in:
parent
fe69c04f8f
commit
db9f5e0984
@ -154,7 +154,7 @@ func useProgramTexture(c *opengl.Context, projectionMatrix []float32, texture op
|
||||
}
|
||||
|
||||
func useProgramRect(c *opengl.Context, projectionMatrix []float32) programFinisher {
|
||||
if lastProgram != programRect {
|
||||
if !lastProgram.Equals(programRect) {
|
||||
c.UseProgram(programRect)
|
||||
lastProgram = programRect
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user