Cleanup: Silence compilation warning.

For now made DRW_notify_view_update_offscreen static.
This commit is contained in:
Jeroen Bakker 2021-11-23 14:30:14 +01:00
parent fecdf9d44b
commit 89b927a720
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)) {