/[packages]/cauldron/openimageio/current/SOURCES/OpenImageIO-uninit.patch
ViewVC logotype

Contents of /cauldron/openimageio/current/SOURCES/OpenImageIO-uninit.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1102070 - (show annotations) (download)
Tue May 16 15:20:43 2017 UTC (6 years, 9 months ago) by luigiwalser
File size: 593 byte(s)
- 1.7.14
- add patch from fedora to fix arch/optimizer specific problem with
  uninitialized variables

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

  ViewVC Help
Powered by ViewVC 1.1.30