mirror of
https://github.com/gnif/LookingGlass.git
synced 2025-01-10 14:23:57 +00:00
[client] ds: tell the display server if jitRender is requested
This commit is contained in:
parent
366ec16a63
commit
4e435e6199
2 changed files with 6 additions and 1 deletions
|
@ -92,6 +92,10 @@ typedef struct LG_DSInitParams
|
|||
|
||||
// if true the renderer requires an OpenGL context
|
||||
bool opengl;
|
||||
|
||||
// x11 needs to know if this is in use so we can decide to setup for
|
||||
// presentation times
|
||||
bool jitRender;
|
||||
}
|
||||
LG_DSInitParams;
|
||||
|
||||
|
|
|
@ -958,7 +958,8 @@ static int lg_run(void)
|
|||
.resizable = g_params.allowResize,
|
||||
.borderless = g_params.borderless,
|
||||
.maximize = g_params.maximize,
|
||||
.opengl = needsOpenGL
|
||||
.opengl = needsOpenGL,
|
||||
.jitRender = g_params.jitRender
|
||||
};
|
||||
|
||||
g_state.dsInitialized = g_state.ds->init(params);
|
||||
|
|
Loading…
Reference in a new issue