diff options
author | Emre Ucan <eucan@de.adit-jv.com> | 2015-07-30 14:30:13 +0200 |
---|---|---|
committer | Nobuhiko Tanibata <nobuhiko_tanibata@xddp.denso.co.jp> | 2015-08-25 17:27:46 +0900 |
commit | 1b9fdd947b6fd4db3434aa238a8e125a8b33fe8e (patch) | |
tree | ae926e44bf87db6e18d8dc4430bf4732d5a9c426 | |
parent | 9ba0b0d31280662ad8667d33eabb3e97b138da88 (diff) | |
download | wayland-ivi-extension-wl-shell-emulator.tar.gz |
EGLWLMockNavigation: use wl_shell if it is availablewl-shell-emulator
Signed-off-by: Emre Ucan <eucan@de.adit-jv.com>
-rw-r--r-- | ivi-layermanagement-examples/EGLWLMockNavigation/src/OpenGLES2App.cpp | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/ivi-layermanagement-examples/EGLWLMockNavigation/src/OpenGLES2App.cpp b/ivi-layermanagement-examples/EGLWLMockNavigation/src/OpenGLES2App.cpp index 2e65864..8b7e0d1 100644 --- a/ivi-layermanagement-examples/EGLWLMockNavigation/src/OpenGLES2App.cpp +++ b/ivi-layermanagement-examples/EGLWLMockNavigation/src/OpenGLES2App.cpp @@ -126,8 +126,11 @@ OpenGLES2App::OpenGLES2App(float fps, float animationSpeed, SurfaceConfiguration createWLContext(config); createEGLContext(); - ilmClient_init((t_ilm_nativedisplay)m_wlContextStruct.wlDisplay); - setupLayerMangement(config); + if (m_wlContextStruct.wlShell == NULL) + { + ilmClient_init((t_ilm_nativedisplay)m_wlContextStruct.wlDisplay); + setupLayerMangement(config); + } if (config->nosky) { |