diff options
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/gpu/GPU_viewport.h | 2 | ||||
-rw-r--r-- | source/blender/gpu/intern/gpu_viewport.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/gpu/GPU_viewport.h b/source/blender/gpu/GPU_viewport.h index 8b2a14a1a96..0ecd5f3eb7b 100644 --- a/source/blender/gpu/GPU_viewport.h +++ b/source/blender/gpu/GPU_viewport.h @@ -120,7 +120,7 @@ void GPU_viewport_free(GPUViewport *viewport); void GPU_viewport_colorspace_set(GPUViewport *viewport, ColorManagedViewSettings *view_settings, - ColorManagedDisplaySettings *display_settings, + const ColorManagedDisplaySettings *display_settings, float dither); void GPU_viewport_bind_from_offscreen(GPUViewport *viewport, struct GPUOffScreen *ofs); diff --git a/source/blender/gpu/intern/gpu_viewport.c b/source/blender/gpu/intern/gpu_viewport.c index 96bf1ec40b0..dd63edea0db 100644 --- a/source/blender/gpu/intern/gpu_viewport.c +++ b/source/blender/gpu/intern/gpu_viewport.c @@ -556,7 +556,7 @@ void GPU_viewport_bind_from_offscreen(GPUViewport *viewport, struct GPUOffScreen void GPU_viewport_colorspace_set(GPUViewport *viewport, ColorManagedViewSettings *view_settings, - ColorManagedDisplaySettings *display_settings, + const ColorManagedDisplaySettings *display_settings, float dither) { /** |