Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'intern/ghost/intern/GHOST_DisplayManagerSDL.cpp')
-rw-r--r--intern/ghost/intern/GHOST_DisplayManagerSDL.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/intern/ghost/intern/GHOST_DisplayManagerSDL.cpp b/intern/ghost/intern/GHOST_DisplayManagerSDL.cpp
index 7d7dbabe4ae..059f04992fb 100644
--- a/intern/ghost/intern/GHOST_DisplayManagerSDL.cpp
+++ b/intern/ghost/intern/GHOST_DisplayManagerSDL.cpp
@@ -137,9 +137,8 @@ GHOST_TSuccess GHOST_DisplayManagerSDL::setCurrentDisplaySetting(
}
}
- if (best_fit == -1) {
+ if (best_fit == -1)
return GHOST_kFailure;
- }
SDL_GetDisplayMode(display, best_fit, &mode);
}