40 lines
862 B
Lua
40 lines
862 B
Lua
--Initialization text for the 'glX' spec header.
|
|
|
|
return [[
|
|
#ifdef __glxext_h_
|
|
#error Attempt to include glx_exts after including glxext.h
|
|
#endif
|
|
|
|
#define __glxext_h_
|
|
|
|
#include <X11/Xlib.h>
|
|
#include <X11/Xutil.h>
|
|
#include <GL/glx.h>
|
|
#ifdef CODEGEN_FUNCPTR
|
|
#undef CODEGEN_FUNCPTR
|
|
#endif /*CODEGEN_FUNCPTR*/
|
|
#define CODEGEN_FUNCPTR
|
|
|
|
#ifndef GL_LOAD_GEN_BASIC_OPENGL_TYPEDEFS
|
|
#define GL_LOAD_GEN_BASIC_OPENGL_TYPEDEFS
|
|
|
|
typedef unsigned int GLenum;
|
|
typedef unsigned char GLboolean;
|
|
typedef unsigned int GLbitfield;
|
|
typedef signed char GLbyte;
|
|
typedef short GLshort;
|
|
typedef int GLint;
|
|
typedef int GLsizei;
|
|
typedef unsigned char GLubyte;
|
|
typedef unsigned short GLushort;
|
|
typedef unsigned int GLuint;
|
|
typedef float GLfloat;
|
|
typedef float GLclampf;
|
|
typedef double GLdouble;
|
|
typedef double GLclampd;
|
|
#define GLvoid void
|
|
|
|
#endif /*GL_LOAD_GEN_BASIC_OPENGL_TYPEDEFS*/
|
|
|
|
]]
|