Skip to content

Commit

Permalink
Correct type passed to gl gomobile.
Browse files Browse the repository at this point in the history
  • Loading branch information
Cedric BAIL committed Feb 14, 2023
1 parent 70624f7 commit f738ee5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/painter/gl/gl_gomobile.go
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ func (c *mobileContext) LinkProgram(program Program) {
}

func (c *mobileContext) PixelStorei(pname uint32, param int32) {
c.glContext.PixelStorei(pname, param)
c.glContext.PixelStorei(gl.Enum(pname), param)
}

func (c *mobileContext) ReadBuffer(_ uint32) {
Expand Down

0 comments on commit f738ee5

Please sign in to comment.