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/intern/COM_MemoryBuffer.cpp')
-rw-r--r--source/blender/compositor/intern/COM_MemoryBuffer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/compositor/intern/COM_MemoryBuffer.cpp b/source/blender/compositor/intern/COM_MemoryBuffer.cpp
index 53357b8ec50..bfa20656277 100644
--- a/source/blender/compositor/intern/COM_MemoryBuffer.cpp
+++ b/source/blender/compositor/intern/COM_MemoryBuffer.cpp
@@ -247,7 +247,7 @@ static void imp2radangle(float A, float B, float C, float F, float* a, float* b,
}
}
-float clipuv(float x, float limit){
+float clipuv(float x, float limit) {
x = (x < 0) ? 0 : ((x >= limit) ? (limit - 1) : x);
return x;
}