mirror of
https://git.sr.ht/~eliasnaur/gio
synced 2026-07-01 07:35:40 +00:00
internal/gl: fix startup crash on openbsd from libGLESv2 naming
Signed-off-by: Danny Wilkins <tekk.tonic@aol.com>
This commit is contained in:
committed by
Chris Waldon
parent
40706d3782
commit
05d28ad76a
@@ -665,7 +665,7 @@ func (f *Functions) load(forceES bool) error {
|
||||
case runtime.GOOS == "android":
|
||||
libNames = []string{"libGLESv2.so", "libGLESv3.so"}
|
||||
default:
|
||||
libNames = []string{"libGLESv2.so.2"}
|
||||
libNames = []string{"libGLESv2.so.2", "libGLESv2.so.3.0"}
|
||||
}
|
||||
for _, lib := range libNames {
|
||||
if h := dlopen(lib); h != nil {
|
||||
|
||||
Reference in New Issue
Block a user