mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-12-24 18:58:54 +01:00
Bug fix: opengl.Program can't take 0 (in gopherjs)
This commit is contained in:
parent
438380bb6e
commit
bcbaf2e674
@ -64,7 +64,7 @@ func initialize(c *opengl.Context) error {
|
||||
return nil
|
||||
}
|
||||
|
||||
var lastProgram opengl.Program = 0
|
||||
var lastProgram opengl.Program
|
||||
|
||||
func useProgramColorMatrix(c *opengl.Context, projectionMatrix [16]float32, geo Matrix, color Matrix) opengl.Program {
|
||||
if lastProgram != programColorMatrix {
|
||||
|
Loading…
Reference in New Issue
Block a user