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:30:31 +0300
committerCampbell Barton <ideasman42@gmail.com>2019-06-04 04:30:31 +0300
commit935c9ab0de1ce3d36f93ce5aeee5d0f82d6f2591 (patch)
treea735f6c42044b6d7df3ce538468f6fcaff5e343a /intern/ghost/test/gears/GHOST_C-Test.c
parent0dbd05ffdd52c62c055fa68ab42061831a71b1ee (diff)
Cleanup: Cleanup: style, use braces for GHOST (X11/SDL)
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, 2 insertions, 1 deletions
diff --git a/intern/ghost/test/gears/GHOST_C-Test.c b/intern/ghost/test/gears/GHOST_C-Test.c
index 80675ac5e3d..f5218923f9a 100644
--- a/intern/ghost/test/gears/GHOST_C-Test.c
+++ b/intern/ghost/test/gears/GHOST_C-Test.c
@@ -412,8 +412,9 @@ 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);