diff options
-rw-r--r-- | include/GL/glext.h | 18 |
1 files changed, 14 insertions, 4 deletions
diff --git a/include/GL/glext.h b/include/GL/glext.h index 357b4f2..cb19ed4 100644 --- a/include/GL/glext.h +++ b/include/GL/glext.h @@ -6149,14 +6149,24 @@ typedef char GLchar; #ifndef GL_VERSION_1_5 /* GL types for handling large vertex buffer objects */ -typedef signed long int GLintptr; -typedef signed long int GLsizeiptr; +#ifdef _WIN64 +typedef signed long long int GLintptr; +typedef signed long long int GLsizeiptr; +#else +typedef signed long int GLintptr; +typedef signed long int GLsizeiptr; +#endif #endif #ifndef GL_ARB_vertex_buffer_object /* GL types for handling large vertex buffer objects */ -typedef signed long int GLintptrARB; -typedef signed long int GLsizeiptrARB; +#ifdef _WIN64 +typedef signed long long int GLintptrARB; +typedef signed long long int GLsizeiptrARB; +#else +typedef signed long int GLintptrARB; +typedef signed long int GLsizeiptrARB; +#endif #endif #ifndef GL_ARB_shader_objects |