diff options
author | Jeroen Bakker <jeroen@blender.org> | 2021-12-10 17:38:25 +0300 |
---|---|---|
committer | Jeroen Bakker <jeroen@blender.org> | 2021-12-10 17:38:25 +0300 |
commit | 05df6366a46be37c6f91ccc0578ba3f9ba816e64 (patch) | |
tree | 6c08c8778b0356c2faf6206a136152d1ba272950 /intern/opencolorio | |
parent | f76e04bf4d7cdce8fe563b85bb272e9d5ede2b78 (diff) |
Added support for large texture to OCIO.
Diffstat (limited to 'intern/opencolorio')
-rw-r--r-- | intern/opencolorio/ocio_impl.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/intern/opencolorio/ocio_impl.cc b/intern/opencolorio/ocio_impl.cc index 146d5d1a5a7..058b8f51dd6 100644 --- a/intern/opencolorio/ocio_impl.cc +++ b/intern/opencolorio/ocio_impl.cc @@ -580,8 +580,8 @@ void OCIOImpl::cpuProcessorApply_predivide(OCIO_ConstCPUProcessorRcPtr *cpu_proc assert(img->isFloat()); float *pixels = (float *)img->getData(); - int width = img->getWidth(); - int height = img->getHeight(); + size_t width = img->getWidth(); + size_t height = img->getHeight(); for (int y = 0; y < height; y++) { for (int x = 0; x < width; x++) { |