OpenImageIO/OpenImageIO-uninit.patch

12 lines
593 B
Diff

--- a/src/libtexture/texturesys.cpp
+++ b/src/libtexture/texturesys.cpp
@@ -2477,7 +2477,7 @@ TextureSystemImpl::sample_bicubic (int n
} else {
wx = evalBSplineWeights (float4(sfrac));
wy = evalBSplineWeights (float4(tfrac));
-#if (defined(__i386__) && !defined(__x86_64__)) || defined(__aarch64__)
+#if !defined(__x86_64__)
// Some platforms complain here about these being uninitialized,
// so initialize them. Don't waste the cycles for platforms that
// don't seem to have that error. It's a false positive -- this