internal/graphicsdriver/opengl/gl: bug fix: isES was not set

This commit is contained in:
Hajime Hoshi 2023-01-07 03:46:30 +09:00
parent 869ca1e01f
commit d615c2f42a

View File

@ -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
} }
} }