Skip to content

Commit 371ea56

Browse files
committed
imstb_truetype: added missing forward declarations to fix compile warnings
1 parent 80225ba commit 371ea56

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

imstb_truetype.h

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -271,6 +271,11 @@
271271
// Inline sort : 6.54 s 5.65 s
272272
// New rasterizer : 5.63 s 5.00 s
273273

274+
//Missing forward declarations (A. Zonenberg 2025-07-31)
275+
void stbtt__h_prefilter(unsigned char *pixels, int w, int h, int stride_in_bytes, unsigned int kernel_width);
276+
void stbtt__v_prefilter(unsigned char *pixels, int w, int h, int stride_in_bytes, unsigned int kernel_width);
277+
float stbtt__oversample_shift(int oversample);
278+
274279
//////////////////////////////////////////////////////////////////////////////
275280
//////////////////////////////////////////////////////////////////////////////
276281
////

0 commit comments

Comments
 (0)