diff options
author | Richard Grenville <[email protected]> | 2014-01-06 15:31:42 +0800 |
---|---|---|
committer | Richard Grenville <[email protected]> | 2014-01-06 15:31:42 +0800 |
commit | 5ae38a62db338cb00d3cb17e3d6b4b93d7c01720 (patch) | |
tree | 442f814fd72bb737bb64aeab159e6a47b8937723 /common.h | |
parent | 978dde64920e0e2357225cf0ca6e8865a44c7d7e (diff) | |
parent | 0969d7d525ce8e053f9e8e7dd79540570307f477 (diff) | |
download | tdebase-5ae38a62db338cb00d3cb17e3d6b4b93d7c01720.tar.gz tdebase-5ae38a62db338cb00d3cb17e3d6b4b93d7c01720.zip |
Merge branch 'richardgv-dev'
Diffstat (limited to 'common.h')
-rw-r--r-- | common.h | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -513,6 +513,9 @@ typedef struct { bool dbe; /// Whether to do VSync aggressively. bool vsync_aggressive; + /// Whether to use glFinish() instead of glFlush() for (possibly) better + /// VSync yet probably higher CPU usage. + bool vsync_use_glfinish; // === Shadow === /// Enable/disable shadow for specific window types. @@ -1491,6 +1494,11 @@ parse_backend(session_t *ps, const char *str) { ps->o.backend = i; return true; } + // Keep compatibility with an old revision containing a spelling mistake... + if (!strcasecmp(str, "xr_glx_hybird")) { + ps->o.backend = BKEND_XR_GLX_HYBRID; + return true; + } printf_errf("(\"%s\"): Invalid backend argument.", str); return false; } |