Index: include/gpu/gl/GrGLFunctions.h |
=================================================================== |
--- include/gpu/gl/GrGLFunctions.h (revision 12777) |
+++ include/gpu/gl/GrGLFunctions.h (working copy) |
@@ -35,8 +35,18 @@ |
typedef double GrGLdouble; |
typedef double GrGLclampd; |
typedef void GrGLvoid; |
-typedef long GrGLintptr; |
-typedef long GrGLsizeiptr; |
+#ifndef SK_IGNORE_64BIT_OPENGL_CHANGES |
+#ifdef _WIN64 |
+typedef signed long long int GrGLintptr; |
+typedef signed long long int GrGLsizeiptr; |
+#else |
+typedef signed long int GrGLintptr; |
+typedef signed long int GrGLsizeiptr; |
+#endif |
+#else |
+typedef signed long int GrGLintptr; |
+typedef signed long int GrGLsizeiptr; |
+#endif |
/////////////////////////////////////////////////////////////////////////////// |