Cleanup: Silent compilation warning in draw_manager.

This commit is contained in:
Jeroen Bakker 2021-11-24 10:02:30 +01:00
parent 60c0b79256
commit 4b259edb0a
1 changed files with 5 additions and 5 deletions

View File

@ -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)) {