diff options
author | 2013-12-19 19:37:10 +0000 | |
---|---|---|
committer | 2013-12-19 19:37:10 +0000 | |
commit | f5a76839b9e79105f41e87b8a05f00ca3b370e0e (patch) | |
tree | fbe80cc216fb78cde44a38e3a01cca1119b758e1 | |
parent | dc8efaba9943d414cc93714ec00af233aab5c95f (diff) |
Updated GLintptr and GLsizeiptr to be the appropriate types on 64 bit Windows (Take 2)
https://codereview.chromium.org/118533003/
git-svn-id: http://skia.googlecode.com/svn/trunk@12781 2bbb7eff-a529-9590-31e7-b0007b416f81
-rw-r--r-- | include/gpu/gl/GrGLFunctions.h | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/include/gpu/gl/GrGLFunctions.h b/include/gpu/gl/GrGLFunctions.h index 7417685b28..beb657d30a 100644 --- a/include/gpu/gl/GrGLFunctions.h +++ b/include/gpu/gl/GrGLFunctions.h @@ -35,8 +35,18 @@ typedef float GrGLclampf; 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 /////////////////////////////////////////////////////////////////////////////// |