Added support for large texture to OCIO.

This commit is contained in:
Jeroen Bakker 2021-12-10 15:38:25 +01:00
parent f76e04bf4d
commit 05df6366a4

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