#define WIN32_LEAN_AND_MEAN
#define WIN32_NO_STATUS
#include <windows.h>
-
#include <winreg.h>
#define NTOS_MODE_USER
-#include <ddraw.h>
-#include <ddrawi.h>
#include <winddi.h>
#include <ndk/ntndk.h>
+#include <GL/gl.h>
+
/* gl function list */
#include "glfuncs.h"
/* debug macros */
# ifdef DEBUG_OPENGL32
-ULONG DbgPrint(PCH Format,...);
# include <debug.h>
# define DBGPRINT( fmt, args... ) \
DPRINT( "OpenGL32.DLL: %s: "fmt"\n", __FUNCTION__, ##args )
#endif /* APIENTRY */
#define APIENTRY EXPORT __stdcall
-/* gl function list */
-#include "glfuncs.h"
-
-/* GL data types - x86 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 unsigned short GLhalf;
-typedef float GLfloat;
-typedef float GLclampf;
-typedef double GLdouble;
-typedef double GLclampd;
-typedef void GLvoid;
-
/* Called by the driver to set the dispatch table */
typedef DWORD (WINAPI *SetContextCallBack)( const ICDTable * );