mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-12-24 10:48: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 (
|
var (
|
||||||
invalidTexture = textureNative(mgl.Texture{})
|
invalidTexture = textureNative(mgl.Texture{})
|
||||||
invalidFramebuffer = framebufferNative(mgl.Framebuffer{(1 << 32) - 1})
|
invalidFramebuffer = framebufferNative(mgl.Framebuffer{Value: (1 << 32) - 1})
|
||||||
invalidUniform = uniformLocation(mgl.Uniform{-1})
|
invalidUniform = uniformLocation(mgl.Uniform{Value: -1})
|
||||||
)
|
)
|
||||||
|
|
||||||
func getProgramID(p program) programID {
|
func getProgramID(p program) programID {
|
||||||
|
Loading…
Reference in New Issue
Block a user