Revert "Cleanup: Cleanup: style, use braces for GHOST (X11/SDL)"

This reverts commit 935c9ab0de.

Clang-tidy was making unrelated *fixes*.
This commit is contained in:
Campbell Barton
2019-06-04 11:35:28 +10:00
parent 935c9ab0de
commit 0b36780fb4
29 changed files with 222 additions and 439 deletions

View File

@@ -356,12 +356,10 @@ GHOST_TSuccess GHOST_System::createFullScreenWindow(GHOST_Window **window,
{
GHOST_GLSettings glSettings = {0};
if (stereoVisual) {
if (stereoVisual)
glSettings.flags |= GHOST_glStereoVisual;
}
if (alphaBackground) {
if (alphaBackground)
glSettings.flags |= GHOST_glAlphaBackground;
}
/* note: don't use getCurrentDisplaySetting() because on X11 we may
* be zoomed in and the desktop may be bigger then the viewport. */