Skip to content

Commit c21de00

Browse files
committed
Fixes for build issues with upstream imgui
1 parent 9c86ff4 commit c21de00

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

imstb_truetype.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4022,7 +4022,7 @@ STBTT_DEF void stbtt_PackSetSkipMissingCodepoints(stbtt_pack_context *spc, int s
40224022

40234023
#define STBTT__OVER_MASK (STBTT_MAX_OVERSAMPLE-1)
40244024

4025-
static void stbtt__h_prefilter(unsigned char *pixels, int w, int h, int stride_in_bytes, unsigned int kernel_width)
4025+
void stbtt__h_prefilter(unsigned char *pixels, int w, int h, int stride_in_bytes, unsigned int kernel_width)
40264026
{
40274027
unsigned char buffer[STBTT_MAX_OVERSAMPLE];
40284028
int safe_w = w - kernel_width;
@@ -4084,7 +4084,7 @@ static void stbtt__h_prefilter(unsigned char *pixels, int w, int h, int stride_i
40844084
}
40854085
}
40864086

4087-
static void stbtt__v_prefilter(unsigned char *pixels, int w, int h, int stride_in_bytes, unsigned int kernel_width)
4087+
void stbtt__v_prefilter(unsigned char *pixels, int w, int h, int stride_in_bytes, unsigned int kernel_width)
40884088
{
40894089
unsigned char buffer[STBTT_MAX_OVERSAMPLE];
40904090
int safe_h = h - kernel_width;
@@ -4146,7 +4146,7 @@ static void stbtt__v_prefilter(unsigned char *pixels, int w, int h, int stride_i
41464146
}
41474147
}
41484148

4149-
static float stbtt__oversample_shift(int oversample)
4149+
float stbtt__oversample_shift(int oversample)
41504150
{
41514151
if (!oversample)
41524152
return 0.0f;

0 commit comments

Comments
 (0)