Browse Source

Fix crash on 32bit platform

shared-context
satoren 7 years ago
parent
commit
c7f70787c9
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/fontstash.h

+ 1
- 1
src/fontstash.h View File

@@ -306,7 +306,7 @@ int fons__tt_getGlyphKernAdvance(FONSttFontImpl *font, int glyph1, int glyph2)
#endif #endif


#ifndef FONS_SCRATCH_BUF_SIZE #ifndef FONS_SCRATCH_BUF_SIZE
# define FONS_SCRATCH_BUF_SIZE 64000
# define FONS_SCRATCH_BUF_SIZE 96000
#endif #endif
#ifndef FONS_HASH_LUT_SIZE #ifndef FONS_HASH_LUT_SIZE
# define FONS_HASH_LUT_SIZE 256 # define FONS_HASH_LUT_SIZE 256


Loading…
Cancel
Save