diff options
author | Clément Foucault <foucault.clem@gmail.com> | 2022-01-27 16:59:09 +0300 |
---|---|---|
committer | Clément Foucault <foucault.clem@gmail.com> | 2022-01-27 16:59:37 +0300 |
commit | 6f1ab97c5308a6146d4d4fd714ecdb9e9e9e739d (patch) | |
tree | 0c704197495cc510d5f1df7c4215a59e28acff56 /source/blender/draw/intern/draw_manager_data.c | |
parent | 78f29c046701531520c3b7f859b5bb99c756632f (diff) |
Cleanup: Add more const correctness to some functions
These are functions that are used by eevee-rewrite which has more strict
const correctness.
Diffstat (limited to 'source/blender/draw/intern/draw_manager_data.c')
-rw-r--r-- | source/blender/draw/intern/draw_manager_data.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/draw/intern/draw_manager_data.c b/source/blender/draw/intern/draw_manager_data.c index ab570667a77..1ab211dfcfd 100644 --- a/source/blender/draw/intern/draw_manager_data.c +++ b/source/blender/draw/intern/draw_manager_data.c @@ -1904,7 +1904,7 @@ void DRW_view_reset(void) DST.view_previous = NULL; } -void DRW_view_default_set(DRWView *view) +void DRW_view_default_set(const DRWView *view) { BLI_assert(DST.view_default == NULL); DST.view_default = view; |