a72aeedf6f907ed741a906fc1dda6de6e6a08733
[AGL/meta-agl.git] / meta-agl-bsp / meta-ti / recipes-graphics / wayland / wayland-ivi-extension / force-type-conversion.patch
1 diff --git a/ivi-layermanagement-examples/EGLWLMockNavigation/src/OpenGLES2App.cpp b/ivi-layermanagement-examples/EGLWLMockNavigation/src/OpenGLES2App.cpp
2 index 2e65864..e14dbc0 100644
3 --- a/ivi-layermanagement-examples/EGLWLMockNavigation/src/OpenGLES2App.cpp
4 +++ b/ivi-layermanagement-examples/EGLWLMockNavigation/src/OpenGLES2App.cpp
5 @@ -244,7 +247,7 @@ bool OpenGLES2App::createEGLContext()
6      m_eglContextStruct.eglSurface = NULL;
7      m_eglContextStruct.eglContext = NULL;
8  
9 -    m_eglContextStruct.eglDisplay = eglGetDisplay(m_wlContextStruct.wlDisplay);
10 +    m_eglContextStruct.eglDisplay = eglGetDisplay((EGLNativeDisplayType)m_wlContextStruct.wlDisplay);
11      eglstatus = eglGetError();
12      if (!m_eglContextStruct.eglDisplay)
13      {