OpenImageIO/OpenImageIO-1.7.7-i686_fix....

12 lines
432 B
Diff

--- a/src/libtexture/texturesys.cpp
+++ b/src/libtexture/texturesys.cpp
@@ -2477,6 +2477,8 @@ TextureSystemImpl::sample_bicubic (int n
} else {
wx = evalBSplineWeights (float4(sfrac));
wy = evalBSplineWeights (float4(tfrac));
+ dwx = float4::Zero();
+ dwy = float4::Zero();
}
// figure out lerp weights so we can turn the filter into a sequence of lerp's