This website works better with JavaScript.
Home
Help
Sign In
VCVRack
/
nanovg
mirror of
https://github.com/VCVRack/nanovg.git
Watch
1
Star
0
Fork
0
Code
Issues
0
Releases
0
Wiki
Activity
Browse Source
Merge pull request
#23
from andrewcorrigan/master
STBI_NOTUSED
shared-context
Mikko Mononen
11 years ago
parent
277d5ebb3b
a1001539ae
commit
3aa2d9e19f
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+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];
Write
Preview
Loading…
Cancel
Save