diff options
author | Campbell Barton <ideasman42@gmail.com> | 2020-08-01 06:18:47 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2020-08-01 06:57:27 +0300 |
commit | 6119f3cad1707401466c59f8e90aed9c790d6ac9 (patch) | |
tree | 5ef567e80d19adbd09b52bc78151668f06532c84 /intern | |
parent | 901ee66ea1cb4d60a93d4c92161e5c8e21e903bd (diff) |
Cleanup: spelling (initialized)
Diffstat (limited to 'intern')
-rw-r--r-- | intern/ghost/intern/GHOST_ContextEGL.cpp | 2 | ||||
-rw-r--r-- | intern/sky/include/sky_model.h | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/intern/ghost/intern/GHOST_ContextEGL.cpp b/intern/ghost/intern/GHOST_ContextEGL.cpp index 02daad2111a..bac7057d953 100644 --- a/intern/ghost/intern/GHOST_ContextEGL.cpp +++ b/intern/ghost/intern/GHOST_ContextEGL.cpp @@ -118,7 +118,7 @@ static const char *get_egl_error_message_string(EGLint error) case EGL_CONTEXT_LOST: return ( "A power management event has occurred. " - "The application must destroy all contexts and reinitialise OpenGL ES state " + "The application must destroy all contexts and reinitialize OpenGL ES state " "and objects to continue rendering."); default: diff --git a/intern/sky/include/sky_model.h b/intern/sky/include/sky_model.h index fbff64a9486..983b90fed35 100644 --- a/intern/sky/include/sky_model.h +++ b/intern/sky/include/sky_model.h @@ -112,7 +112,7 @@ bands, you would need something like ArHosekSkyModelState * skymodel_state[num_channels]; -You then have to allocate and initialise these states. In the following code +You then have to allocate and initialize these states. In the following code snippet, we assume that 'albedo' is defined as double albedo[num_channels]; @@ -228,7 +228,7 @@ actually not altered at all in this release. All we did was to add some support functionality for doing this more easily with the existing data and functions, and to add some explanations. -Just use 'arhosekskymodelstate_alienworld_alloc_init()' to initialise the sky +Just use 'arhosekskymodelstate_alienworld_alloc_init()' to initialize the sky model states (you will have to provide values for star temperature and solar intensity compared to the terrestrial sun), and do everything else as you did before. |