- add sources.
[platform/framework/web/crosswalk.git] / src / ozone / patches / 1001-Mesa-fix.patch
1 From 3db9bdfd3d8b2a6c185e6b504db67f98e9db3f67 Mon Sep 17 00:00:00 2001
2 From: Tiago Vignatti <tiago.vignatti@intel.com>
3 Date: Thu, 11 Jul 2013 18:10:26 -0300
4 Subject: [PATCH] Mesa fix
5
6 We won't need this as soon the fix the order ui/gl/ is picking the headers, ie
7 first khronos and then mesa.
8
9 Signed-off-by: Tiago Vignatti <tiago.vignatti@intel.com>
10 ---
11  include/EGL/eglplatform.h |    6 ++++++
12  1 file changed, 6 insertions(+)
13
14 diff --git a/include/EGL/eglplatform.h b/include/EGL/eglplatform.h
15 index 28455fb..9c05dca 100644
16 --- a/include/EGL/eglplatform.h
17 +++ b/include/EGL/eglplatform.h
18 @@ -104,6 +104,12 @@ typedef struct ANativeWindow        *EGLNativeWindowType;
19  typedef struct egl_native_pixmap_t  *EGLNativePixmapType;
20  typedef void                        *EGLNativeDisplayType;
21  
22 +#elif defined(USE_OZONE)
23 +
24 +typedef intptr_t EGLNativeDisplayType;
25 +typedef intptr_t EGLNativeWindowType;
26 +typedef intptr_t EGLNativePixmapType;
27 +
28  #elif defined(__unix__)
29  
30  #ifdef MESA_EGL_NO_X11_HEADERS
31 -- 
32 1.7.9.5
33