소스 검색

stb_image: fix VC6

Sean Barrett 1 년 전
부모
커밋
b7cf124628
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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 )
   {