diff options
Diffstat (limited to 'make/stub_includes/x11')
-rw-r--r-- | make/stub_includes/x11/glxext.c | 15 | ||||
-rw-r--r-- | make/stub_includes/x11/window-system1.c | 15 |
2 files changed, 22 insertions, 8 deletions
diff --git a/make/stub_includes/x11/glxext.c b/make/stub_includes/x11/glxext.c index e781b6e88..35ed63b5b 100644 --- a/make/stub_includes/x11/glxext.c +++ b/make/stub_includes/x11/glxext.c @@ -4,14 +4,21 @@ #define _Xconst const #endif /* _Xconst */ +#include <GL/gl-platform.h> + +#include <X11/Xlib.h> +#include <X11/Xutil.h> + // Define GL_GLEXT_PROTOTYPES so that the OpenGL GLX extension prototypes in // "glx.h" are parsed. -#define GL_GLEXT_PROTOTYPES +// #define GL_GLEXT_PROTOTYPES +// #include <GL/gl.h> +// #include <GL/glext-supplement.h> +// #include <GL/glext.h> +#include <gl-types.h> // Define GLX_GLXEXT_PROTOTYPES so that the OpenGL GLX extension prototypes in // "glxext.h" are parsed. #define GLX_GLXEXT_PROTOTYPES -#include <X11/Xlib.h> -#include <X11/Xutil.h> #include <GL/glx.h> -// GL/glxext.h included by GL/glx.h +#include <GL/glxext.h> diff --git a/make/stub_includes/x11/window-system1.c b/make/stub_includes/x11/window-system1.c index e781b6e88..35ed63b5b 100644 --- a/make/stub_includes/x11/window-system1.c +++ b/make/stub_includes/x11/window-system1.c @@ -4,14 +4,21 @@ #define _Xconst const #endif /* _Xconst */ +#include <GL/gl-platform.h> + +#include <X11/Xlib.h> +#include <X11/Xutil.h> + // Define GL_GLEXT_PROTOTYPES so that the OpenGL GLX extension prototypes in // "glx.h" are parsed. -#define GL_GLEXT_PROTOTYPES +// #define GL_GLEXT_PROTOTYPES +// #include <GL/gl.h> +// #include <GL/glext-supplement.h> +// #include <GL/glext.h> +#include <gl-types.h> // Define GLX_GLXEXT_PROTOTYPES so that the OpenGL GLX extension prototypes in // "glxext.h" are parsed. #define GLX_GLXEXT_PROTOTYPES -#include <X11/Xlib.h> -#include <X11/Xutil.h> #include <GL/glx.h> -// GL/glxext.h included by GL/glx.h +#include <GL/glxext.h> |