summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEmre Ucan <eucan@de.adit-jv.com>2015-07-30 14:30:13 +0200
committerNobuhiko Tanibata <nobuhiko_tanibata@xddp.denso.co.jp>2015-08-25 17:27:46 +0900
commit1b9fdd947b6fd4db3434aa238a8e125a8b33fe8e (patch)
treeae926e44bf87db6e18d8dc4430bf4732d5a9c426
parent9ba0b0d31280662ad8667d33eabb3e97b138da88 (diff)
downloadwayland-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.cpp7
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)
{