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 a772223858)
This commit is contained in:
Tomeu Vizoso 2013-01-07 12:55:05 +01:00
parent f1baa4d60f
commit 5bce5f88d9
1 changed files with 1 additions and 1 deletions

View File

@ -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 */