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 <ideasman42@gmail.com>2021-07-07 05:55:19 +0300
committerCampbell Barton <ideasman42@gmail.com>2021-07-07 06:42:46 +0300
commit5bbbc98471a5b8c8384789a4f88d112d003a6350 (patch)
tree4b5f3ab050b910c4f2dd7ff59115ae0963881ca0 /source/blender/gpu
parent63a8b3b9720cf2660cb7a6cd431fdd3014534c4a (diff)
Cleanup: spelling in comments
Diffstat (limited to 'source/blender/gpu')
-rw-r--r--source/blender/gpu/opengl/gl_backend.cc4
-rw-r--r--source/blender/gpu/opengl/gl_drawlist.hh2
2 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/gpu/opengl/gl_backend.cc b/source/blender/gpu/opengl/gl_backend.cc
index 1ae68d6813c..f90c37e5c50 100644
--- a/source/blender/gpu/opengl/gl_backend.cc
+++ b/source/blender/gpu/opengl/gl_backend.cc
@@ -365,8 +365,8 @@ static void detect_workarounds()
(strstr(version, "Build 20.19.15.4285"))) {
GCaps.use_main_context_workaround = true;
}
- /* See T70187: merging vertices fail. This has been tested from 18.2.2 till 19.3.0~dev of the
- * Mesa driver */
+ /* See T70187: merging vertices fail. This has been tested from `18.2.2` till `19.3.0~dev`
+ * of the Mesa driver */
if (GPU_type_matches(GPU_DEVICE_ATI, GPU_OS_UNIX, GPU_DRIVER_OPENSOURCE) &&
(strstr(version, "Mesa 18.") || strstr(version, "Mesa 19.0") ||
strstr(version, "Mesa 19.1") || strstr(version, "Mesa 19.2"))) {
diff --git a/source/blender/gpu/opengl/gl_drawlist.hh b/source/blender/gpu/opengl/gl_drawlist.hh
index db4b9c03c3c..6f80fdd5a8a 100644
--- a/source/blender/gpu/opengl/gl_drawlist.hh
+++ b/source/blender/gpu/opengl/gl_drawlist.hh
@@ -72,7 +72,7 @@ class GLDrawList : public DrawList {
GLuint buffer_id_;
/** Length of whole the buffer (in byte). */
GLsizeiptr buffer_size_;
- /** Offset of data_ inside the whole buffer (in byte). */
+ /** Offset of `data_` inside the whole buffer (in byte). */
GLintptr data_offset_;
/** To free the buffer_id_. */