diff options
author | Campbell Barton <ideasman42@gmail.com> | 2020-09-05 18:45:38 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2020-09-05 19:19:58 +0300 |
commit | 3a8d9198b33d9c90abd3a134ee26e2f68ff52002 (patch) | |
tree | aea4d5dadccc4485857173af0c28a76c73e98b73 /source/blender/gpu/opengl | |
parent | 9978485e8207d1f842f16864bda4260c8fc1335a (diff) |
Cleanup: spelling
Diffstat (limited to 'source/blender/gpu/opengl')
-rw-r--r-- | source/blender/gpu/opengl/gl_state.cc | 4 | ||||
-rw-r--r-- | source/blender/gpu/opengl/gl_texture.cc | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/source/blender/gpu/opengl/gl_state.cc b/source/blender/gpu/opengl/gl_state.cc index ad3692d5813..419cb8b0c9c 100644 --- a/source/blender/gpu/opengl/gl_state.cc +++ b/source/blender/gpu/opengl/gl_state.cc @@ -56,7 +56,7 @@ GLStateManager::GLStateManager(void) : GPUStateManager() glPrimitiveRestartIndex((GLuint)0xFFFFFFFF); /* TODO: Should become default. But needs at least GL 4.3 */ if (GLEW_ARB_ES3_compatibility) { - /* Takes predecence over GL_PRIMITIVE_RESTART */ + /* Takes precedence over #GL_PRIMITIVE_RESTART. */ glEnable(GL_PRIMITIVE_RESTART_FIXED_INDEX); } @@ -532,4 +532,4 @@ uint64_t GLStateManager::bound_texture_slots(void) /** \} */ -} // namespace blender::gpu
\ No newline at end of file +} // namespace blender::gpu diff --git a/source/blender/gpu/opengl/gl_texture.cc b/source/blender/gpu/opengl/gl_texture.cc index 7ff4fb2644d..a79490b9283 100644 --- a/source/blender/gpu/opengl/gl_texture.cc +++ b/source/blender/gpu/opengl/gl_texture.cc @@ -653,8 +653,8 @@ bool GLTexture::proxy_check(int mip) void GLTexture::check_feedback_loop(void) { - /* Recursive downsample workaround break this check. - * See recursive_downsample() for more infos. */ + /* Recursive down sample workaround break this check. + * See #recursive_downsample() for more information. */ if (GPU_mip_render_workaround()) { return; } |