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_RenderLayersProg.cc')
-rw-r--r--source/blender/compositor/operations/COM_RenderLayersProg.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/compositor/operations/COM_RenderLayersProg.cc b/source/blender/compositor/operations/COM_RenderLayersProg.cc
index 40f2187b27b..fa9efbe15be 100644
--- a/source/blender/compositor/operations/COM_RenderLayersProg.cc
+++ b/source/blender/compositor/operations/COM_RenderLayersProg.cc
@@ -52,7 +52,7 @@ void RenderLayersProg::init_execution()
void RenderLayersProg::do_interpolation(float output[4], float x, float y, PixelSampler sampler)
{
- unsigned int offset;
+ uint offset;
int width = this->get_width(), height = this->get_height();
int ix = x, iy = y;
@@ -328,7 +328,7 @@ void RenderLayersDepthProg::execute_pixel_sampled(float output[4],
output[0] = 10e10f;
}
else {
- unsigned int offset = (iy * this->get_width() + ix);
+ uint offset = (iy * this->get_width() + ix);
output[0] = input_buffer[offset];
}
}