From d615c2f42a495dfac6e28d2f5e87a02f6c59fe2f Mon Sep 17 00:00:00 2001 From: Hajime Hoshi Date: Sat, 7 Jan 2023 03:46:30 +0900 Subject: [PATCH] internal/graphicsdriver/opengl/gl: bug fix: isES was not set --- internal/graphicsdriver/opengl/gl/procaddr_others.go | 1 + 1 file changed, 1 insertion(+) diff --git a/internal/graphicsdriver/opengl/gl/procaddr_others.go b/internal/graphicsdriver/opengl/gl/procaddr_others.go index 9bbb1b1e8..85a2e07e6 100644 --- a/internal/graphicsdriver/opengl/gl/procaddr_others.go +++ b/internal/graphicsdriver/opengl/gl/procaddr_others.go @@ -164,6 +164,7 @@ func (c *defaultContext) init() error { C.free(unsafe.Pointer(cname)) if lib != nil { C.setLibGLES(lib) + c.isES = true return nil } }