On Sun, May 09, 2021 at 08:04:47AM +0200, Theo Buehler wrote:
> > > +@@ -710,6 +710,8 @@ static GLFWbool initExtensions(void)
> > > + 
> > > + #if defined(__CYGWIN__)
> > > +     _glfw.x11.xcursor.handle = _glfw_dlopen("libXcursor-1.so");
> > > ++#elif defined(__OpenBSD__)
> > > ++    _glfw.x11.xcursor.handle = _glfw_dlopen("libXcursor.so.5.0");

> I think it would be better to avoid hardcoding the version. I would
> expect that this also works:

>           _glfw.x11.xcursor.handle = _glfw_dlopen("libXcursor.so");

> This way you don't need to bump whenver libXcursor is bumped.

Yup. That was already pointed out to me by Brad. I've corrected it.

--Kurt

Reply via email to