Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'source/blender/compositor/operations/COM_ReadBufferOperation.cc')
-rw-r--r--source/blender/compositor/operations/COM_ReadBufferOperation.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/source/blender/compositor/operations/COM_ReadBufferOperation.cc b/source/blender/compositor/operations/COM_ReadBufferOperation.cc
index 81f046af1b9..224d2ea0f41 100644
--- a/source/blender/compositor/operations/COM_ReadBufferOperation.cc
+++ b/source/blender/compositor/operations/COM_ReadBufferOperation.cc
@@ -31,8 +31,7 @@ void ReadBufferOperation::determine_canvas(const rcti &preferred_area, rcti &r_a
/** \todo may not occur! But does with blur node. */
if (memory_proxy_->get_executor()) {
- uint resolution[2] = {static_cast<uint>(BLI_rcti_size_x(&r_area)),
- static_cast<uint>(BLI_rcti_size_y(&r_area))};
+ uint resolution[2] = {uint(BLI_rcti_size_x(&r_area)), uint(BLI_rcti_size_y(&r_area))};
memory_proxy_->get_executor()->set_resolution(resolution);
}