premake4 build: allow to dynamically load X11 if X11 system headers/library is missing
premake4 build: allow to dynamically load OpenGL/GLEW/glx if system headers are missing
This commit is contained in:
@@ -14,8 +14,10 @@ subject to the following restrictions:
|
||||
*/
|
||||
|
||||
#include "GLDebugFont.h"
|
||||
#include "OpenGLWindow/OpenGLInclude.h"
|
||||
|
||||
|
||||
#ifdef DONT_USE_GLUT
|
||||
#else
|
||||
#ifdef _WIN32//for glut.h
|
||||
#include <windows.h>
|
||||
#endif
|
||||
@@ -44,7 +46,7 @@ subject to the following restrictions:
|
||||
#include <GL/glu.h>
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#endif
|
||||
#include <stdio.h>
|
||||
#include <string.h> //for memset
|
||||
|
||||
|
||||
Reference in New Issue
Block a user