Allow for multi-gigapixel renders
authorKarl Semich <>
Mon, 15 Jan 2018 11:53:17 +0000 (12:53 +0100)
committerSergey Sharybin <sergey.vfx@gmail.com>
Mon, 15 Jan 2018 11:57:12 +0000 (12:57 +0100)
commit75e2ae72c7771a89f3fe4e988d4deb30c9367313
treeb2b87c7daa1ee17fa4efd0cf671ab7e08ce976e0
parent2c2203d82afa3e521d9fa34215c572227bc1e3a3
Allow for multi-gigapixel renders

This patch fixes a 32-bit overflow that occurs on 64-bit systems due to a numeric literal being treated as 32-bit.

This patch allows for the generation of images that occupy more than 4GB of RAM, which previously caused a crash.

Reviewers: sergey

Reviewed By: sergey

Differential Revision: https://developer.blender.org/D2975
source/blender/imbuf/intern/openexr/openexr_api.cpp