diff options
author | Ross Burton <[email protected]> | 2013-06-27 12:35:08 +0100 |
---|---|---|
committer | Chad Versace <[email protected]> | 2013-07-01 10:06:24 -0700 |
commit | 2c6186390c48e0d1f2b4d4136c11eb0bedfd1aec (patch) | |
tree | 1bd4e98921265bf024c87af211e82fbdaaab0d3e /include | |
parent | 1a7275de9a0088cedab17131eec82bd2cada26c3 (diff) |
eglplatform: use unsigned long instead of 32-bit ints in generic platform
In the generic Unix case use the "unsigned long" type instead of 32-bit
integers so that the type sizes are consistant on 64-bit machines between X11
and not-X11.
Signed-off-by: Ross Burton <[email protected]>
Reviewed-by: Chad Versace <[email protected]>
Reviewed-by: Brian Paul <[email protected]>
Diffstat (limited to 'include')
-rw-r--r-- | include/EGL/eglplatform.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/EGL/eglplatform.h b/include/EGL/eglplatform.h index 17fdc61146a..21b18fe7381 100644 --- a/include/EGL/eglplatform.h +++ b/include/EGL/eglplatform.h @@ -109,8 +109,8 @@ typedef void *EGLNativeDisplayType; #ifdef MESA_EGL_NO_X11_HEADERS typedef void *EGLNativeDisplayType; -typedef khronos_uint32_t EGLNativePixmapType; -typedef khronos_uint32_t EGLNativeWindowType; +typedef khronos_uintptr_t EGLNativePixmapType; +typedef khronos_uintptr_t EGLNativeWindowType; #else |