diff options
author | Clément Foucault <foucault.clem@gmail.com> | 2022-01-27 17:25:01 +0300 |
---|---|---|
committer | Clément Foucault <foucault.clem@gmail.com> | 2022-01-27 17:26:43 +0300 |
commit | aa2164da336082248ab452875f673e175c0448fe (patch) | |
tree | e746c05516c68d4bef0f8bf702e057816d0ba080 /source/blender/draw/intern/draw_manager_data.c | |
parent | 5730668dea092ace6e4bd4e92e75df351656ea23 (diff) |
Cleanup: Fix const correctness warning
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 1ab211dfcfd..a4d5d6f3c31 100644 --- a/source/blender/draw/intern/draw_manager_data.c +++ b/source/blender/draw/intern/draw_manager_data.c @@ -1907,7 +1907,7 @@ void DRW_view_reset(void) void DRW_view_default_set(const DRWView *view) { BLI_assert(DST.view_default == NULL); - DST.view_default = view; + DST.view_default = (DRWView *)view; } void DRW_view_clip_planes_set(DRWView *view, float (*planes)[4], int plane_len) |