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
parent
bacbf1ffe6
commit
29ca856038
|
|
@ -100,7 +100,6 @@ target_link_libraries(llrender
|
|||
llfilesystem
|
||||
llxml
|
||||
llwindow
|
||||
ll::sdl
|
||||
ll::freetype
|
||||
OpenGL::GL
|
||||
OpenGL::GLU
|
||||
|
|
|
|||
|
|
@ -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 "";
|
||||
|
|
|
|||
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Reference in New Issue