diff options
author | Richard Grenville <[email protected]> | 2013-12-26 20:43:06 +0800 |
---|---|---|
committer | Richard Grenville <[email protected]> | 2013-12-26 20:43:06 +0800 |
commit | 0969d7d525ce8e053f9e8e7dd79540570307f477 (patch) | |
tree | 442f814fd72bb737bb64aeab159e6a47b8937723 /common.h | |
parent | 43b47ec45346c895c5c555d9771fbdfbaca387ff (diff) | |
download | tdebase-0969d7d525ce8e053f9e8e7dd79540570307f477.tar.gz tdebase-0969d7d525ce8e053f9e8e7dd79540570307f477.zip |
Misc #163: Make usage of glFinish() optional
Make usage of glFinish() optional to avoid high CPU usage. (#163)
Diffstat (limited to 'common.h')
-rw-r--r-- | common.h | 3 |
1 files changed, 3 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. |