[cogl] Use the correct type for GLintptr



commit a77222385812a696a999a871cde439f50b648f69
Author: Tomeu Vizoso <tomeu vizoso collabora com>
Date:   Mon Jan 7 12:55:05 2013 +0100

    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

 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 9f6d097..8f41bf8 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 */



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]