mirror of
https://github.com/gnif/LookingGlass.git
synced 2025-10-12 10:28:08 +00:00
[client] egl: fix building without EGL support
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
@@ -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