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
#20
from andrewcorrigan/master
stdio.h
shared-context
Mikko Mononen
11 years ago
parent
2c5f10f33f
74dddb693e
commit
e39b6cb9ee
3 changed files
with
3 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-0
src/nanovg_gl2.h
+1
-0
src/nanovg_gl3.h
+1
-1
src/stb_image.c
+ 1
- 0
src/nanovg_gl2.h
View File
@@ -55,6 +55,7 @@ void nvgDeleteGL2(struct NVGcontext* ctx);
#ifdef NANOVG_GL2_IMPLEMENTATION
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include "nanovg.h"
+ 1
- 0
src/nanovg_gl3.h
View File
@@ -54,6 +54,7 @@ void nvgDeleteGL3(struct NVGcontext* ctx);
#ifdef NANOVG_GL3_IMPLEMENTATION
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include "nanovg.h"
+ 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;
in_far =
in_far;
(void)
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