--- xmoto-0.1.6/src/VCommon.h.orign 2005-10-07 10:20:16.000000000 +0400 +++ xmoto-0.1.6/src/VCommon.h 2005-10-07 10:20:46.000000000 +0400 @@ -36,20 +36,20 @@ #endif #include - -#if defined(WIN32) && defined(_MSC_VER) + +#if defined(WIN32) && defined(_MSC_VER) #define GL_GLEXT_PROTOTYPES 1 - #include "glext.h" -#else - /* This aren't elegant. It would be nicer to use glext.h, but I can't get - it to work :( */ - #define GL_ARRAY_BUFFER_ARB 0x8892 - #define GL_STATIC_DRAW_ARB 0x88E4 - - typedef void (*PFNGLBINDBUFFERARBPROC)(GLenum target, GLuint buffer); - typedef void (*PFNGLDELETEBUFFERSARBPROC)(GLsizei n, const GLuint *buffers); - typedef void (*PFNGLGENBUFFERSARBPROC)(GLsizei n, GLuint *buffers); - typedef void (*PFNGLBUFFERDATAARBPROC)(GLenum target, int size, const GLvoid *data, GLenum usage); + #include "glext.h" +#else + /* This aren't elegant. It would be nicer to use glext.h, but I can't get + it to work :( */ + #define GL_ARRAY_BUFFER_ARB 0x8892 + #define GL_STATIC_DRAW_ARB 0x88E4 + + typedef void (*PFNGLBINDBUFFERARBPROC)(GLenum target, GLuint buffer); + typedef void (*PFNGLDELETEBUFFERSARBPROC)(GLsizei n, const GLuint *buffers); + typedef void (*PFNGLGENBUFFERSARBPROC)(GLsizei n, GLuint *buffers); + typedef void (*PFNGLBUFFERDATAARBPROC)(GLenum target, GLsizeiptrARB size,const GLvoid *data, GLenum usage); #endif #include