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:
@@ -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. */
|
||||
|
||||
Reference in New Issue
Block a user