patch-OpenAL32_alBuffer_c 453 B

12345678910111213
  1. $OpenBSD: patch-OpenAL32_alBuffer_c,v 1.1 2016/11/03 10:27:38 jasper Exp $
  2. --- OpenAL32/alBuffer.c.orig Fri Aug 15 08:06:59 2014
  3. +++ OpenAL32/alBuffer.c Sun Sep 4 22:48:18 2016
  4. @@ -1179,7 +1179,7 @@ static ALboolean DecomposeFormat(ALenum format, enum F
  5. { AL_7POINT1_16_SOFT, FmtX71, FmtShort },
  6. { AL_7POINT1_32F_SOFT, FmtX71, FmtFloat },
  7. };
  8. - ALuint i;
  9. + volatile ALuint i;
  10. for(i = 0;i < COUNTOF(list);i++)
  11. {