Add new shader viewing tool

This commit is contained in:
Henrik Rydgard
2015-10-14 18:10:21 +02:00
parent 09cc80f413
commit 7f4e473e8c
25 changed files with 555 additions and 201 deletions
+1 -1
View File
@@ -562,7 +562,7 @@ namespace MainWindow
static double lastMouseDown;
double now = real_time_now();
if ((now - lastMouseDown) < 0.001 * GetDoubleClickTime()) {
if (!g_Config.bShowTouchControls && GetUIState() == UISTATE_INGAME) {
if (!g_Config.bShowTouchControls && GetUIState() == UISTATE_INGAME && g_Config.bFullscreenOnDoubleclick) {
SendToggleFullscreen(!g_Config.bFullScreen);
}
lastMouseDown = 0.0;