diff options
author | Campbell Barton <ideasman42@gmail.com> | 2020-09-07 08:57:12 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2020-09-07 09:19:42 +0300 |
commit | 267b8e1a5c322c87d9684638cc29c984c6d33e58 (patch) | |
tree | 3c64784ae8ef56c801679f906d427ee7451406ea /source/blender/draw | |
parent | 379d5d7349400d09e1c266665398e97dcb7a9993 (diff) |
Cleanup: spelling
Also correct wrapped lines of example code in threads.cc.
Diffstat (limited to 'source/blender/draw')
-rw-r--r-- | source/blender/draw/engines/gpencil/gpencil_render.c | 2 | ||||
-rw-r--r-- | source/blender/draw/intern/draw_instance_data.c | 2 | ||||
-rw-r--r-- | source/blender/draw/intern/draw_manager_data.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/draw/engines/gpencil/gpencil_render.c b/source/blender/draw/engines/gpencil/gpencil_render.c index 1402448a699..5d417d995ac 100644 --- a/source/blender/draw/engines/gpencil/gpencil_render.c +++ b/source/blender/draw/engines/gpencil/gpencil_render.c @@ -101,7 +101,7 @@ void GPENCIL_render_init(GPENCIL_Data *vedata, const bool do_clear_z = !pix_z || do_region; const bool do_clear_col = !pix_col || do_region; - /* FIXME(fclem): we have a precision loss in the depth buffer because of this reupload. + /* FIXME(fclem): we have a precision loss in the depth buffer because of this re-upload. * Find where it comes from! */ /* In multi view render the textures can be reused. */ if (txl->render_depth_tx && !do_clear_z) { diff --git a/source/blender/draw/intern/draw_instance_data.c b/source/blender/draw/intern/draw_instance_data.c index 32060ca02a1..f341d16838e 100644 --- a/source/blender/draw/intern/draw_instance_data.c +++ b/source/blender/draw/intern/draw_instance_data.c @@ -22,7 +22,7 @@ /** * DRW Instance Data Manager - * This is a special memory manager that keeps memory blocks ready to send as vbo data in one + * This is a special memory manager that keeps memory blocks ready to send as VBO data in one * continuous allocation. This way we avoid feeding #GPUBatch each instance data one by one and * unnecessary memcpy. Since we loose which memory block was used each #DRWShadingGroup we need to * redistribute them in the same order/size to avoid to realloc each frame. This is why diff --git a/source/blender/draw/intern/draw_manager_data.c b/source/blender/draw/intern/draw_manager_data.c index d92b2fb00d4..a4fc44e9571 100644 --- a/source/blender/draw/intern/draw_manager_data.c +++ b/source/blender/draw/intern/draw_manager_data.c @@ -1756,7 +1756,7 @@ void DRW_view_update(DRWView *view, const float (*culling_winmat)[4]) { /* DO NOT UPDATE THE DEFAULT VIEW. - * Create subviews instead, or a copy. */ + * Create sub-views instead, or a copy. */ BLI_assert(view != DST.view_default); BLI_assert(view->parent == NULL); |