45 lines
941 B
Lua
45 lines
941 B
Lua
--Initialization text for the 'wgl' spec header.
|
|
|
|
return [[
|
|
#ifdef __wglext_h_
|
|
#error Attempt to include auto-generated WGL header after wglext.h
|
|
#endif
|
|
|
|
#define __wglext_h_
|
|
|
|
#ifndef WIN32_LEAN_AND_MEAN
|
|
#define WIN32_LEAN_AND_MEAN 1
|
|
#endif
|
|
#ifndef NOMINMAX
|
|
#define NOMINMAX
|
|
#endif
|
|
#include <windows.h>
|
|
|
|
#ifdef CODEGEN_FUNCPTR
|
|
#undef CODEGEN_FUNCPTR
|
|
#endif /*CODEGEN_FUNCPTR*/
|
|
#define CODEGEN_FUNCPTR WINAPI
|
|
|
|
#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*/
|
|
|
|
]]
|