SDL/src/video/directfb
Sam Lantinga 0560544d1c Fixed 3783 - Default libGL path for directFB on Linux differs from x11 path
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")
2017-08-28 09:51:25 -07:00
..
SDL_DirectFB_dyn.c Updated copyright for 2017 2017-01-01 18:33:28 -08:00
SDL_DirectFB_dyn.h Renaming of guard header names to quiet -Wreserved-id-macro 2017-08-28 00:22:23 -07:00
SDL_DirectFB_events.c directfb: Fixed quitting keyboard twice. 2017-06-16 23:30:30 +02:00
SDL_DirectFB_events.h Renaming of guard header names to quiet -Wreserved-id-macro 2017-08-28 00:22:23 -07:00
SDL_DirectFB_modes.c Updated copyright for 2017 2017-01-01 18:33:28 -08:00
SDL_DirectFB_modes.h Renaming of guard header names to quiet -Wreserved-id-macro 2017-08-28 00:22:23 -07:00
SDL_DirectFB_mouse.c directfb: Fixed compiler warnings about undefined functions. 2017-05-13 23:00:53 +02:00
SDL_DirectFB_mouse.h Renaming of guard header names to quiet -Wreserved-id-macro 2017-08-28 00:22:23 -07:00
SDL_DirectFB_opengl.c Fixed 3783 - Default libGL path for directFB on Linux differs from x11 path 2017-08-28 09:51:25 -07:00
SDL_DirectFB_opengl.h Renaming of guard header names to quiet -Wreserved-id-macro 2017-08-28 00:22:23 -07:00
SDL_DirectFB_render.c directfb: Fixed crash if creating renderer. 2017-06-11 22:30:24 +02:00
SDL_DirectFB_render.h Updated copyright for 2017 2017-01-01 18:33:28 -08:00
SDL_DirectFB_shape.c Removed unused internal window shape functions. 2017-05-25 23:00:43 +02:00
SDL_DirectFB_shape.h Renaming of guard header names to quiet -Wreserved-id-macro 2017-08-28 00:22:23 -07:00
SDL_DirectFB_video.c Fixed mingw Windows build, since SDL_vulkan_internal.h includes windows.h 2017-08-28 00:43:14 -07:00
SDL_DirectFB_video.h Renaming of guard header names to quiet -Wreserved-id-macro 2017-08-28 00:22:23 -07:00
SDL_DirectFB_window.c directfb: Fixed comment. 2017-06-11 22:30:49 +02:00
SDL_DirectFB_window.h Renaming of guard header names to quiet -Wreserved-id-macro 2017-08-28 00:22:23 -07:00
SDL_DirectFB_WM.c Updated copyright for 2017 2017-01-01 18:33:28 -08:00
SDL_DirectFB_WM.h Renaming of guard header names to quiet -Wreserved-id-macro 2017-08-28 00:22:23 -07:00