[client] egl: fix building without EGL support
This commit is contained in:
1 parent
cf3e816603
commit
8919d2718f
4 files changed
+38
-26
No files matched your search
@@ -566,6 +566,7 @@ bool app_getProp(LG_DSProperty prop, void * ret)
|
||||
return g_state.ds->getProp(prop, ret);
|
||||
}
|
||||
|
||||
#ifdef ENABLE_EGL
|
||||
EGLDisplay app_getEGLDisplay(void)
|
||||
{
|
||||
return g_state.ds->getEGLDisplay();
|
||||
@@ -580,6 +581,7 @@ void app_eglSwapBuffers(EGLDisplay display, EGLSurface surface)
|
||||
{
|
||||
g_state.ds->eglSwapBuffers(display, surface);
|
||||
}
|
||||
#endif
|
||||
|
||||
void app_glSwapBuffers(void)
|
||||
{
|
||||
|
||||
+1
-1
@@ -633,7 +633,7 @@ static int lg_run(void)
|
||||
}
|
||||
|
||||
assert(g_state.ds);
|
||||
assert(IS_LG_DS_VALID(g_state.ds));
|
||||
ASSERT_LG_DS_VALID(g_state.ds);
|
||||
|
||||
// init the subsystem
|
||||
if (!g_state.ds->earlyInit())
|
||||
|
||||
Reference in new issue
Block a user