Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 10c6501

Browse files
fix missing argument in prototype of stbi_write_jpg (#613)
1 parent 10feacf commit 10c6501

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎thirdparty/stb_image_write.h‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ STBIWDEF int stbi_write_png(char const *filename, int w, int h, int comp, const
177177
STBIWDEF int stbi_write_bmp(char const *filename, int w, int h, int comp, const void *data);
178178
STBIWDEF int stbi_write_tga(char const *filename, int w, int h, int comp, const void *data);
179179
STBIWDEF int stbi_write_hdr(char const *filename, int w, int h, int comp, const float *data);
180-
STBIWDEF int stbi_write_jpg(char const *filename, int x, int y, int comp, const void *data, int quality);
180+
STBIWDEF int stbi_write_jpg(char const *filename, int x, int y, int comp, const void *data, int quality, constchar*parameters=NULL);
181181

182182
#ifdef STBIW_WINDOWS_UTF8
183183
STBIWDEF int stbiw_convert_wchar_to_utf8(char *buffer, size_t bufferlen, const wchar_t* input);

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /