| Summary: | Default libGL path for directFB on Linux differs from x11 path | ||
|---|---|---|---|
| Product: | SDL | Reporter: | Clayton Craft <clayton> |
| Component: | video | Assignee: | Sam Lantinga <slouken> |
| Status: | RESOLVED FIXED | QA Contact: | Sam Lantinga <slouken> |
| Severity: | normal | ||
| Priority: | P2 | ||
| Version: | 2.0.5 | ||
| Hardware: | All | ||
| OS: | Linux | ||
Fixed, thanks! https://hg.libsdl.org/SDL/rev/665376404df1 Wow, so fast, thank you! And thank you for continuing to support directfb! You're welcome! :) |
The default path used by directfb for libGL is different than the default path used by x11 in SDL2: ./src/video/directfb/SDL_DirectFB_opengl.c: path = "libGL.so"; ./src/video/x11/SDL_x11opengl.c: #define DEFAULT_OPENGL "libGL.so.1" On at least one distro (Alpine Linux), libGL.so is not created (or more accurately the symlink to libGL.so.1 is not created). For consistency, the 'path' variable in SDL_DirectFB_opengl.c should patch the DEFAULT_OPENGL in SDL_x11opengl.c ("libGL.so.1")