Browse Source

Merge pull request #23 from andrewcorrigan/master

STBI_NOTUSED
shared-context
Mikko Mononen 11 years ago
parent
commit
3aa2d9e19f
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/stb_image.c

+ 1
- 1
src/stb_image.c View File

@@ -1733,7 +1733,7 @@ static uint8 *resample_row_generic(uint8 *out, uint8 *in_near, uint8 *in_far, in
{
// resample with nearest-neighbor
int i,j;
(void)in_far;
STBI_NOTUSED(in_far);
for (i=0; i < w; ++i)
for (j=0; j < hs; ++j)
out[i*hs+j] = in_near[i];


Loading…
Cancel
Save