diff options
author | Campbell Barton <ideasman42@gmail.com> | 2021-10-06 01:28:00 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2021-10-06 01:28:00 +0300 |
commit | 6d2b486e431dae57536a5a7d9b64c62144754363 (patch) | |
tree | c08b4fb3a5f33ee71615e38d1b77bd6820fd4e9c /source/blender/draw/intern/draw_texture_pool.cc | |
parent | 7b5835c793fbc5459ad64be4e8c7ceabd45cd668 (diff) |
Cleanup: spelling in comments
Diffstat (limited to 'source/blender/draw/intern/draw_texture_pool.cc')
-rw-r--r-- | source/blender/draw/intern/draw_texture_pool.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/draw/intern/draw_texture_pool.cc b/source/blender/draw/intern/draw_texture_pool.cc index 61697465784..709bf808874 100644 --- a/source/blender/draw/intern/draw_texture_pool.cc +++ b/source/blender/draw/intern/draw_texture_pool.cc @@ -47,7 +47,7 @@ DRWTexturePool *DRW_texture_pool_create(void) void DRW_texture_pool_free(DRWTexturePool *pool) { - /* Reseting the pool twice will effectively free all textures. */ + /* Resetting the pool twice will effectively free all textures. */ DRW_texture_pool_reset(pool); DRW_texture_pool_reset(pool); delete pool; @@ -86,7 +86,7 @@ GPUTexture *DRW_texture_pool_query( if (user_bit & handle.users_bits) { continue; } - /* If everthing matches reuse the texture. */ + /* If everything matches reuse the texture. */ if ((GPU_texture_format(handle.texture) == format) && (GPU_texture_width(handle.texture) == width) && (GPU_texture_height(handle.texture) == height)) { @@ -137,4 +137,4 @@ void DRW_texture_pool_reset(DRWTexturePool *pool) pool->handles.remove_and_reorder(i); } } -}
\ No newline at end of file +} |