Added support for large texture to OCIO.
This commit is contained in:
parent
f76e04bf4d
commit
05df6366a4
@ -580,8 +580,8 @@ void OCIOImpl::cpuProcessorApply_predivide(OCIO_ConstCPUProcessorRcPtr *cpu_proc
|
|||||||
assert(img->isFloat());
|
assert(img->isFloat());
|
||||||
float *pixels = (float *)img->getData();
|
float *pixels = (float *)img->getData();
|
||||||
|
|
||||||
int width = img->getWidth();
|
size_t width = img->getWidth();
|
||||||
int height = img->getHeight();
|
size_t height = img->getHeight();
|
||||||
|
|
||||||
for (int y = 0; y < height; y++) {
|
for (int y = 0; y < height; y++) {
|
||||||
for (int x = 0; x < width; x++) {
|
for (int x = 0; x < width; x++) {
|
||||||
|
Loading…
Reference in New Issue
Block a user