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 <campbell@blender.org>2022-03-04 02:29:53 +0300
committerCampbell Barton <campbell@blender.org>2022-03-04 02:31:11 +0300
commit8b06c524d207f5e67ef22d6a1869c94d8f91717f (patch)
tree3a89ed263632daa2b9bd49971ef45dee46744375 /source/blender/windowmanager/intern/wm_init_exit.c
parentfd2519e0b6948903892c3cfc373c903337979407 (diff)
Cleanup: spelling in comments, function name
Diffstat (limited to 'source/blender/windowmanager/intern/wm_init_exit.c')
-rw-r--r--source/blender/windowmanager/intern/wm_init_exit.c6
1 files changed, 3 insertions, 3 deletions
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();