diff options
author | luzpaz <luzpaz> | 2021-02-06 06:07:03 +0300 |
---|---|---|
committer | Harley Acheson <harley.acheson@gmail.com> | 2021-02-06 06:08:14 +0300 |
commit | a4a9d14ba71100259f19bd62e8c2f27cd8b7862f (patch) | |
tree | 0e6cf7dad2599966d1fd4dd25889c850a5c26fb0 /source/blender/draw/intern | |
parent | 3560f5c1e64e89d345fb2640bb502a433348e4b7 (diff) |
UI: Fix Typos in Comments and Docs
Approximately 91 spelling corrections, almost all in comments.
Differential Revision: https://developer.blender.org/D10288
Reviewed by Harley Acheson
Diffstat (limited to 'source/blender/draw/intern')
-rw-r--r-- | source/blender/draw/intern/draw_cache_extract_mesh.c | 6 | ||||
-rw-r--r-- | source/blender/draw/intern/shaders/common_smaa_lib.glsl | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/source/blender/draw/intern/draw_cache_extract_mesh.c b/source/blender/draw/intern/draw_cache_extract_mesh.c index 9e2ac26f9f0..d9fbb01789f 100644 --- a/source/blender/draw/intern/draw_cache_extract_mesh.c +++ b/source/blender/draw/intern/draw_cache_extract_mesh.c @@ -907,7 +907,7 @@ static void extract_tris_finish(const MeshRenderData *mr, if (mr->use_final_mesh && cache->final.tris_per_mat) { MeshBufferCache *mbc = &cache->final; for (int i = 0; i < mr->mat_len; i++) { - /* Theses IBOs have not been queried yet but we create them just in case they are needed + /* These IBOs have not been queried yet but we create them just in case they are needed * later since they are not tracked by mesh_buffer_cache_create_requested(). */ if (mbc->tris_per_mat[i] == NULL) { mbc->tris_per_mat[i] = GPU_indexbuf_calloc(); @@ -1380,7 +1380,7 @@ static void extract_lines_paint_mask_iter_poly_mesh(const MeshRenderData *mr, } } else { - /* Set theses unselected loop only if this edge has no other selected loop. */ + /* Set these unselected loop only if this edge has no other selected loop. */ if (!BLI_BITMAP_TEST(data->select_map, e_index)) { GPU_indexbuf_set_line_verts(&data->elb, e_index, ml_index, ml_index_other); } @@ -5230,7 +5230,7 @@ static void *extract_skin_roots_init(const MeshRenderData *mr, } } - /* It's really unlikely that all verts will be roots. Resize to avoid loosing VRAM. */ + /* It's really unlikely that all verts will be roots. Resize to avoid losing VRAM. */ GPU_vertbuf_data_len_set(vbo, root_len); return NULL; diff --git a/source/blender/draw/intern/shaders/common_smaa_lib.glsl b/source/blender/draw/intern/shaders/common_smaa_lib.glsl index 78a62c6ae7d..36ffb4d8b32 100644 --- a/source/blender/draw/intern/shaders/common_smaa_lib.glsl +++ b/source/blender/draw/intern/shaders/common_smaa_lib.glsl @@ -118,7 +118,7 @@ * half-rate linear filtering on GCN. * * If SMAA is applied to 64-bit color buffers, switching to point filtering - * when accesing them will increase the performance. Search for + * when accessing them will increase the performance. Search for * 'SMAASamplePoint' to see which textures may benefit from point * filtering, and where (which is basically the color input in the edge * detection and resolve passes). |