diff options
author | Tomeu Vizoso <tomeu.vizoso@collabora.com> | 2013-01-07 12:55:05 +0100 |
---|---|---|
committer | Tomeu Vizoso <tomeu.vizoso@collabora.com> | 2013-01-08 14:56:25 +0100 |
commit | 5bce5f88d948dc675fbe6c9a5201e4613996c743 (patch) | |
tree | 5b9a67fa03a132e67debdf40c1f81b19f89d6d28 /cogl/cogl-gles2-types.h | |
parent | f1baa4d60f1b48ee431c4aa78735baba8ec1d50b (diff) | |
download | cogl-5bce5f88d948dc675fbe6c9a5201e4613996c743.tar.gz |
Use the correct type for GLintptr
On 32bit, intptr_t has a different type than khronos_intptr_t.
https://bugzilla.gnome.org/show_bug.cgi?id=691296
(cherry picked from commit a77222385812a696a999a871cde439f50b648f69)
Diffstat (limited to 'cogl/cogl-gles2-types.h')
-rw-r--r-- | cogl/cogl-gles2-types.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cogl/cogl-gles2-types.h b/cogl/cogl-gles2-types.h index 9f6d097b..8f41bf8a 100644 --- a/cogl/cogl-gles2-types.h +++ b/cogl/cogl-gles2-types.h @@ -35,7 +35,7 @@ typedef float GLclampf; typedef int32_t GLfixed; /* GL types for handling large vertex buffer objects */ -typedef intptr_t GLintptr; +typedef signed long int GLintptr; typedef long GLsizeiptr; /* OpenGL ES core versions */ |