mirror of
https://github.com/Ryujinx/SDL.git
synced 2025-11-18 18:54:52 +00:00
Clayton Craft
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")
|
||
|---|---|---|
| .. | ||
| SDL_DirectFB_dyn.c | ||
| SDL_DirectFB_dyn.h | ||
| SDL_DirectFB_events.c | ||
| SDL_DirectFB_events.h | ||
| SDL_DirectFB_modes.c | ||
| SDL_DirectFB_modes.h | ||
| SDL_DirectFB_mouse.c | ||
| SDL_DirectFB_mouse.h | ||
| SDL_DirectFB_opengl.c | ||
| SDL_DirectFB_opengl.h | ||
| SDL_DirectFB_render.c | ||
| SDL_DirectFB_render.h | ||
| SDL_DirectFB_shape.c | ||
| SDL_DirectFB_shape.h | ||
| SDL_DirectFB_video.c | ||
| SDL_DirectFB_video.h | ||
| SDL_DirectFB_window.c | ||
| SDL_DirectFB_window.h | ||
| SDL_DirectFB_WM.c | ||
| SDL_DirectFB_WM.h | ||