llrender does not need a dependency on sdl. There was some comment out code which

suggests it was needed long ago.
meow-7.2.2
Nicky 2022-04-18 16:50:17 +02:00
parent bacbf1ffe6
commit 29ca856038
3 changed files with 1 additions and 7 deletions

View File

@ -100,7 +100,6 @@ target_link_libraries(llrender
llfilesystem
llxml
llwindow
ll::sdl
ll::freetype
OpenGL::GL
OpenGL::GLU

View File

@ -239,7 +239,7 @@ std::string currentOsName()
return "Windows";
#elif LL_DARWIN
return "Mac";
#elif LL_SDL || LL_MESA_HEADLESS
#elif LL_LINUX
return "Linux";
#else
return "";

View File

@ -59,11 +59,6 @@
# include "GL/glh_extensions.h"
# undef __APPLE__
/* Although SDL very likely ends up calling glXGetProcAddress() itself,
if we use SDL_GL_GetProcAddress() then we get bogus addresses back on
some systems. Weird. */
/*# include "SDL/SDL.h"
# define GLH_EXT_GET_PROC_ADDRESS(p) SDL_GL_GetProcAddress(p) */
#define GLX_GLXEXT_PROTOTYPES 1
# include "GL/glx.h"
# include "GL/glxext.h"