mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-12-25 03:08:54 +01:00
internal/graphicsdriver/opengl/gl: bug fix: isES was not set
This commit is contained in:
parent
869ca1e01f
commit
d615c2f42a
@ -164,6 +164,7 @@ func (c *defaultContext) init() error {
|
|||||||
C.free(unsafe.Pointer(cname))
|
C.free(unsafe.Pointer(cname))
|
||||||
if lib != nil {
|
if lib != nil {
|
||||||
C.setLibGLES(lib)
|
C.setLibGLES(lib)
|
||||||
|
c.isES = true
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user