mirror of
https://github.com/gnif/LookingGlass.git
synced 2024-11-10 08:38:20 +00:00
[client] ds: tell the display server if jitRender is requested
This commit is contained in:
parent
366ec16a63
commit
4e435e6199
@ -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 New Issue
Block a user