diff --git a/internal/graphics/internal/shader/program.go b/internal/graphics/internal/shader/program.go index 1980799ba..d9d229b71 100644 --- a/internal/graphics/internal/shader/program.go +++ b/internal/graphics/internal/shader/program.go @@ -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 {