internal/graphicsdriver/opengl/gl: fix a wrong comment

This commit is contained in:
Hajime Hoshi 2023-01-07 03:07:27 +09:00
parent 983e8abd46
commit 869ca1e01f

View File

@ -83,7 +83,7 @@ func listLibs(libraryPaths []string, libName string) ([]string, error) {
continue
}
// The file names are sorted in the alphabetical order. Use the first item.
// The file names are sorted in the alphabetical order.
// TODO: What is the best version to use?
sort.Strings(libs)
@ -168,7 +168,7 @@ func (c *defaultContext) init() error {
}
}
return fmt.Errorf("gl: !?!? failed to load libGL.so and libGLESv2.so")
return fmt.Errorf("gl: failed to load libGL.so and libGLESv2.so")
}
func (c *defaultContext) getProcAddress(name string) unsafe.Pointer {