projects
/
profile
/
ivi
/
weston-ivi-shell.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a178f70
)
gl-renderer: make EGL typedefs similar to EGL/egl.h when building without EGL support
author
Vasily Khoruzhick
<anarsoul@gmail.com>
Fri, 11 Jan 2013 10:50:45 +0000
(13:50 +0300)
committer
Kristian Høgsberg
<krh@bitplanet.net>
Tue, 15 Jan 2013 21:00:16 +0000
(16:00 -0500)
Signed-off-by: Vasily Khoruzhick <anarsoul@gmail.com>
src/gl-renderer.h
patch
|
blob
|
history
diff --git
a/src/gl-renderer.h
b/src/gl-renderer.h
index
81735e6
..
a2e8690
100644
(file)
--- a/
src/gl-renderer.h
+++ b/
src/gl-renderer.h
@@
-53,10
+53,10
@@
gl_renderer_print_egl_error_state(void);
#else
typedef int EGLint;
-typedef
int
EGLDisplay;
-typedef
int
EGLSurface;
-typedef
long in
t EGLNativeDisplayType;
-typedef
long in
t EGLNativeWindowType;
+typedef
void *
EGLDisplay;
+typedef
void *
EGLSurface;
+typedef
intptr_
t EGLNativeDisplayType;
+typedef
intptr_
t EGLNativeWindowType;
static const EGLint gl_renderer_opaque_attribs[];
static const EGLint gl_renderer_alpha_attribs[];