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
#404
from DagAgren/patch-1
Fix clang compiler warnings
shared-context
Mikko Mononen
GitHub
7 years ago
parent
a2784bad3a
b124bbbaf5
commit
67e2ecf736
2 changed files
with
2 additions
and
2 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+2
-1
src/fontstash.h
+0
-1
src/nanovg.c
+ 2
- 1
src/fontstash.h
View File
@@ -873,7 +873,8 @@ error:
int fonsAddFont(FONScontext* stash, const char* name, const char* path)
{
FILE* fp = 0;
int dataSize = 0, readed;
int dataSize = 0;
size_t readed;
unsigned char* data = NULL;
// Read in the font data.
+ 0
- 1
src/nanovg.c
View File
@@ -390,7 +390,6 @@ void nvgCancelFrame(NVGcontext* ctx)
void nvgEndFrame(NVGcontext* ctx)
{
NVGstate* state = nvg__getState(ctx);
ctx->params.renderFlush(ctx->params.userPtr);
if (ctx->fontImageIdx != 0) {
int fontImage = ctx->fontImages[ctx->fontImageIdx];
Write
Preview
Loading…
Cancel
Save