Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrecht Van Lommel <brechtvanlommel@gmail.com>2020-03-15 22:11:53 +0300
committerBrecht Van Lommel <brechtvanlommel@gmail.com>2020-03-17 19:33:08 +0300
commit1504cb26b0aa4e91b5c0ec432d2702d9e9c5275f (patch)
tree04fd27b90f3637885e25b59dac6bdf73f36c652d /intern/cycles/render/colorspace.h
parent2518f601094bfa14474c24c3a1e640b9fca0e6e2 (diff)
Cleanup: process colorspace conversion with a 1D pixel array
No need to assume it's 2D or 3D.
Diffstat (limited to 'intern/cycles/render/colorspace.h')
-rw-r--r--intern/cycles/render/colorspace.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/intern/cycles/render/colorspace.h b/intern/cycles/render/colorspace.h
index 9fea2d6efc6..51d0b121cc0 100644
--- a/intern/cycles/render/colorspace.h
+++ b/intern/cycles/render/colorspace.h
@@ -45,9 +45,7 @@ class ColorSpaceManager {
template<typename T>
static void to_scene_linear(ustring colorspace,
T *pixels,
- size_t width,
- size_t height,
- size_t depth,
+ size_t num_pixels,
bool compress_as_srgb);
/* Efficiently convert pixels to scene linear colorspace at render time,