diff options
Diffstat (limited to 'source/blender/windowmanager/intern')
-rw-r--r-- | source/blender/windowmanager/intern/wm.c | 4 | ||||
-rw-r--r-- | source/blender/windowmanager/intern/wm_init_exit.c | 6 | ||||
-rw-r--r-- | source/blender/windowmanager/intern/wm_window.c | 4 |
3 files changed, 7 insertions, 7 deletions
diff --git a/source/blender/windowmanager/intern/wm.c b/source/blender/windowmanager/intern/wm.c index c333d8149ed..a55f5af03d1 100644 --- a/source/blender/windowmanager/intern/wm.c +++ b/source/blender/windowmanager/intern/wm.c @@ -481,7 +481,7 @@ void WM_check(bContext *C) } if (!G.background) { - /* Case: fileread. */ + /* Case: file-read. */ if ((wm->initialized & WM_WINDOW_IS_INIT) == 0) { WM_keyconfig_init(C); WM_autosave_init(wm); @@ -491,7 +491,7 @@ void WM_check(bContext *C) wm_window_ghostwindows_ensure(wm); } - /* Case: fileread. */ + /* Case: file-read. */ /* NOTE: this runs in background mode to set the screen context cb. */ if ((wm->initialized & WM_WINDOW_IS_INIT) == 0) { ED_screens_init(bmain, wm); diff --git a/source/blender/windowmanager/intern/wm_init_exit.c b/source/blender/windowmanager/intern/wm_init_exit.c index 6cefbf0bae5..70e54e3e69d 100644 --- a/source/blender/windowmanager/intern/wm_init_exit.c +++ b/source/blender/windowmanager/intern/wm_init_exit.c @@ -163,15 +163,15 @@ static bool opengl_is_init = false; void WM_init_opengl(void) { - /* must be called only once */ + /* Must be called only once. */ BLI_assert(opengl_is_init == false); if (G.background) { - /* Ghost is still not init elsewhere in background mode. */ + /* Ghost is still not initialized elsewhere in background mode. */ wm_ghost_init(NULL); } - /* Needs to be first to have an ogl context bound. */ + /* Needs to be first to have an OpenGL context bound. */ DRW_opengl_context_create(); GPU_init(); diff --git a/source/blender/windowmanager/intern/wm_window.c b/source/blender/windowmanager/intern/wm_window.c index e93ffe48aba..6c90e0603a5 100644 --- a/source/blender/windowmanager/intern/wm_window.c +++ b/source/blender/windowmanager/intern/wm_window.c @@ -614,10 +614,10 @@ static void wm_window_ghostwindow_ensure(wmWindowManager *wm, wmWindow *win, boo } if (win->ghostwin != NULL) { - /* If we have no ghostwin this is a buggy window that should be removed. + /* If we have no `ghostwin` this is a buggy window that should be removed. * However we still need to initialize it correctly so the screen doesn't hang. */ - /* happens after fileread */ + /* Happens after file-read. */ wm_window_ensure_eventstate(win); WM_window_set_dpi(win); |