diff options
author | kbr@chromium.org <kbr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-06-14 05:56:50 +0000 |
---|---|---|
committer | kbr@chromium.org <kbr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-06-14 05:56:50 +0000 |
commit | 5dc3c74b6281a05b5362993a8862f4377d4008e1 (patch) | |
tree | 75f7e510df4a18c365bbfb9f571129c562114b81 | |
parent | 4ba6f50a5bc78554a4108750a342c2b5b6b99e73 (diff) | |
download | src-5dc3c74b6281a05b5362993a8862f4377d4008e1.tar.gz |
Changed typedefs for GLintptr and GLsizeiptr (and ARB variants) to work around conflicts with Skia's typedefs in src/third_party/skia/include/gpu/gl/GrGLFunctions.h . There is a fundamental conflict between the OpenGL and OpenGL ES headers for these typedefs. Without this modification, src/ui/gl/gl_bindings_skia_in_process.cc fails to compile.
This patch is not appropriate to upstream to Mesa. Additionally, there may be a different workaround available which would allow this patch to be reverted.
BUG=238755
TBR=marcheu@chromium.org
Review URL: https://codereview.chromium.org/16818021
git-svn-id: svn://svn.chromium.org/chrome/trunk/deps/third_party/mesa@206312 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r-- | include/GL/glext.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/include/GL/glext.h b/include/GL/glext.h index 44ab7c6..357b4f2 100644 --- a/include/GL/glext.h +++ b/include/GL/glext.h @@ -6149,14 +6149,14 @@ typedef char GLchar; #ifndef GL_VERSION_1_5 /* GL types for handling large vertex buffer objects */ -typedef ptrdiff_t GLintptr; -typedef ptrdiff_t GLsizeiptr; +typedef signed long int GLintptr; +typedef signed long int GLsizeiptr; #endif #ifndef GL_ARB_vertex_buffer_object /* GL types for handling large vertex buffer objects */ -typedef ptrdiff_t GLintptrARB; -typedef ptrdiff_t GLsizeiptrARB; +typedef signed long int GLintptrARB; +typedef signed long int GLsizeiptrARB; #endif #ifndef GL_ARB_shader_objects |