mirror of
https://github.com/gnif/LookingGlass.git
synced 2025-08-09 20:24:14 +00:00
[client] egl: refactor config dialog into main egl module
This will allow other things like scaling to be implemented.
This commit is contained in:
@@ -613,6 +613,12 @@ static void debugCallback(GLenum source, GLenum type, GLuint id,
|
||||
DEBUG_PRINT(level, "GL message (source: %s, type: %s): %s", sourceName, typeName, message);
|
||||
}
|
||||
|
||||
static void egl_config_ui(void * opaque)
|
||||
{
|
||||
struct Inst * this = opaque;
|
||||
egl_damage_config_ui(this->damage);
|
||||
}
|
||||
|
||||
static bool egl_render_startup(void * opaque, bool useDMA)
|
||||
{
|
||||
struct Inst * this = (struct Inst *)opaque;
|
||||
@@ -814,6 +820,8 @@ static bool egl_render_startup(void * opaque, bool useDMA)
|
||||
return false;
|
||||
}
|
||||
|
||||
app_overlayConfigRegister("EGL", egl_config_ui, this);
|
||||
|
||||
this->imgui = true;
|
||||
return true;
|
||||
}
|
||||
|
Reference in New Issue
Block a user