Jelajahi Sumber

stb_image: fix VC6

Sean Barrett 1 tahun lalu
induk
melakukan
b7cf124628
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  1. 1 1
      stb_image_resize2.h

+ 1 - 1
stb_image_resize2.h

@@ -3571,9 +3571,9 @@ static int stbir__pack_coefficients( int num_contributors, stbir__contributors*
   #else
   #define STBIR_MOVE_4( dest, src ) { STBIR_NO_UNROLL(dest); ((stbir_uint64*)(dest))[0] = ((stbir_uint64*)(src))[0]; ((stbir_uint64*)(dest))[1] = ((stbir_uint64*)(src))[1]; }
   #endif
-  STBIR__UNUSED( row0 ); // only used in an assert
 
   int row_end = row1 + 1;
+  STBIR__UNUSED( row0 ); // only used in an assert
 
   if ( coefficient_width != widest )
   {