diff options
author | Campbell Barton <campbell@blender.org> | 2022-09-07 05:52:05 +0300 |
---|---|---|
committer | Campbell Barton <campbell@blender.org> | 2022-09-07 06:04:44 +0300 |
commit | da3d1e9165f4d0ffcb04645aded3eea489fd6cdd (patch) | |
tree | 5ba77108c3eac7a35aab0acfbc151f1c07006fb6 /intern | |
parent | a5d65200c2aad5070824c3cbdc43b4d5cebe2cc3 (diff) |
Cleanup: spelling in comments, correct doxy slashes, replace '/w'
Diffstat (limited to 'intern')
-rw-r--r-- | intern/ghost/intern/GHOST_ContextCGL.mm | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/intern/ghost/intern/GHOST_ContextCGL.mm b/intern/ghost/intern/GHOST_ContextCGL.mm index eb84f901d80..488aa58aa59 100644 --- a/intern/ghost/intern/GHOST_ContextCGL.mm +++ b/intern/ghost/intern/GHOST_ContextCGL.mm @@ -201,7 +201,7 @@ static void makeAttribList(std::vector<NSOpenGLPixelFormatAttribute> &attribs, attribs.push_back(NSOpenGLPFAOpenGLProfile); attribs.push_back(NSOpenGLProfileVersion3_2Core); - /* Pixel Format Attributes for the windowed NSOpenGLContext. */ + /* Pixel Format Attributes for the windowed #NSOpenGLContext. */ attribs.push_back(NSOpenGLPFADoubleBuffer); if (softwareGL) { @@ -212,7 +212,7 @@ static void makeAttribList(std::vector<NSOpenGLPixelFormatAttribute> &attribs, attribs.push_back(NSOpenGLPFAAccelerated); attribs.push_back(NSOpenGLPFANoRecovery); - /* Attempt to initialise device with extended sampler limit. + /* Attempt to initialize device with extended sampler limit. * Resolves EEVEE purple rendering artifacts on macOS. */ if (increasedSamplerLimit) { attribs.push_back((NSOpenGLPixelFormatAttribute)400); @@ -267,7 +267,7 @@ GHOST_TSuccess GHOST_ContextCGL::initializeDrawingContext() pixelFormat = [[NSOpenGLPixelFormat alloc] initWithAttributes:&attribs[0]]; if (pixelFormat == nil) { /* If pixel format creation fails when testing increased sampler limit, - * attempt intialisation again with feature disabled, otherwise, fail. */ + * attempt initialization again with feature disabled, otherwise, fail. */ if (increasedSamplerLimit) { increasedSamplerLimit = false; continue; |