Add new shader viewing tool

This commit is contained in:
Henrik Rydgard committed 2015-10-14 18:10:21 +02:00
1 parent 09cc80f413
commit 7f4e473e8c
25 files changed
+555 -201

No files matched your search

+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;