Remove an undocumented option

Removed --glx-reinit-on-root-change.

Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com>
This commit is contained in:
Yuxuan Shui
2019-02-25 21:18:48 +00:00
parent 2699367b46
commit 7e7c54761e
5 changed files with 0 additions and 37 deletions

View File

@ -257,28 +257,6 @@ glx_destroy(session_t *ps) {
ps->psglx = NULL;
}
/**
* Reinitialize GLX.
*/
bool
glx_reinit(session_t *ps, bool need_render) {
// Reinitialize VSync as well
vsync_deinit(ps);
glx_destroy(ps);
if (!glx_init(ps, need_render)) {
log_error("Failed to initialize GLX.");
return false;
}
if (!vsync_init(ps)) {
log_error("Failed to initialize VSync.");
return false;
}
return true;
}
/**
* Callback to run on root window size change.
*/