diff options
author | Jeroen Bakker <jeroen@blender.org> | 2021-11-24 12:02:30 +0300 |
---|---|---|
committer | Jeroen Bakker <jeroen@blender.org> | 2021-11-24 12:02:30 +0300 |
commit | 4b259edb0a0b25b0ee3a7c13da2fa7da217c373d (patch) | |
tree | 1a1a1629f6032b180e0c60a577eb17b28b0df0a7 /source | |
parent | 60c0b7925625ad52824f2cb43d667fc3d56597a0 (diff) |
Cleanup: Silent compilation warning in draw_manager.
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/draw/intern/draw_manager.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/source/blender/draw/intern/draw_manager.c b/source/blender/draw/intern/draw_manager.c index 59ed5316c02..1c7e8bd8ad6 100644 --- a/source/blender/draw/intern/draw_manager.c +++ b/source/blender/draw/intern/draw_manager.c @@ -1368,11 +1368,11 @@ void DRW_notify_view_update(const DRWUpdateContext *update_ctx) } /* update a viewport which belongs to a GPUOffscreen */ -void DRW_notify_view_update_offscreen(struct Depsgraph *depsgraph, - RenderEngineType *engine_type, - ARegion *region, - View3D *v3d, - GPUViewport *viewport) +static void DRW_notify_view_update_offscreen(struct Depsgraph *depsgraph, + RenderEngineType *engine_type, + ARegion *region, + View3D *v3d, + GPUViewport *viewport) { if (viewport && GPU_viewport_do_update(viewport)) { |