mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-12-24 02:38:53 +01:00
graphicsdriver/opengl: Enable to compile with gldebug tag for gomobile
This commit is contained in:
parent
760225df75
commit
68c43bb4fb
@ -69,8 +69,8 @@ type programID uint32
|
||||
|
||||
var (
|
||||
invalidTexture = textureNative(mgl.Texture{})
|
||||
invalidFramebuffer = framebufferNative(mgl.Framebuffer{(1 << 32) - 1})
|
||||
invalidUniform = uniformLocation(mgl.Uniform{-1})
|
||||
invalidFramebuffer = framebufferNative(mgl.Framebuffer{Value: (1 << 32) - 1})
|
||||
invalidUniform = uniformLocation(mgl.Uniform{Value: -1})
|
||||
)
|
||||
|
||||
func getProgramID(p program) programID {
|
||||
|
Loading…
Reference in New Issue
Block a user