[Bf-blender-cvs] [05df6366a46] master: Added support for large texture to OCIO.

Jeroen Bakker noreply at git.blender.org
Fri Dec 10 15:39:12 CET 2021


Commit: 05df6366a46be37c6f91ccc0578ba3f9ba816e64
Author: Jeroen Bakker
Date:   Fri Dec 10 15:38:25 2021 +0100
Branches: master
https://developer.blender.org/rB05df6366a46be37c6f91ccc0578ba3f9ba816e64

Added support for large texture to OCIO.

===================================================================

M	intern/opencolorio/ocio_impl.cc

===================================================================

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



More information about the Bf-blender-cvs mailing list