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:
authorCampbell Barton <ideasman42@gmail.com>2019-06-04 04:35:28 +0300
committerCampbell Barton <ideasman42@gmail.com>2019-06-04 04:36:54 +0300
commit0b36780fb4d88eab0ebab585fb2aa3147d2e99fc (patch)
treefa014b692469714b17edcee5e771f86ebaf2e1d7 /intern/ghost/test/gears/GHOST_C-Test.c
parent935c9ab0de1ce3d36f93ce5aeee5d0f82d6f2591 (diff)
Revert "Cleanup: Cleanup: style, use braces for GHOST (X11/SDL)"
This reverts commit 935c9ab0de1ce3d36f93ce5aeee5d0f82d6f2591. Clang-tidy was making unrelated *fixes*.
Diffstat (limited to 'intern/ghost/test/gears/GHOST_C-Test.c')
-rw-r--r--intern/ghost/test/gears/GHOST_C-Test.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/intern/ghost/test/gears/GHOST_C-Test.c b/intern/ghost/test/gears/GHOST_C-Test.c
index f5218923f9a..80675ac5e3d 100644
--- a/intern/ghost/test/gears/GHOST_C-Test.c
+++ b/intern/ghost/test/gears/GHOST_C-Test.c
@@ -412,9 +412,8 @@ int processEvent(GHOST_EventHandle hEvent, GHOST_TUserDataPtr userData)
break;
case GHOST_kEventWindowUpdate: {
GHOST_WindowHandle window2 = GHOST_GetEventWindow(hEvent);
- if (!GHOST_ValidWindow(shSystem, window2)) {
+ if (!GHOST_ValidWindow(shSystem, window2))
break;
- }
setViewPortGL(window2);
drawGL();
GHOST_SwapWindowBuffers(window2);