Skip to content

Commit

Permalink
tiny tiny bug 🐛
Browse files Browse the repository at this point in the history
  • Loading branch information
dimkauzh committed Dec 18, 2024
1 parent 4f7907f commit 4a1b34f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion internal/gl/opengl.go
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,7 @@ func Clear() {

func Enable(args ...*Arguments) {
for _, arg := range args {
gl.Enable(arg.Arg.(uint32))
gl.Enable(uint32(arg.Arg.(int)))
}
}

Expand Down
1 change: 1 addition & 0 deletions test/backend/test.go
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,7 @@ func main() {

texture.Bind()
gl.DrawElements(indices)
// texture.UnBind()

win.HandleEvents()
win.UpdateBuffers()
Expand Down

0 comments on commit 4a1b34f

Please sign in to comment.