Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3)

Unified Diff: include/GL/glext.h

Issue 108043006: Updated GLintptr and GLsizeiptr to be the appropiate types on 64 bit Windows (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/deps/third_party/mesa/
Patch Set: Created 7 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include/GL/glext.h
===================================================================
--- include/GL/glext.h (revision 240919)
+++ include/GL/glext.h (working copy)
@@ -6149,15 +6149,25 @@
#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
/* GL types for program/shader text and shader object handles */
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698