png_infopp_NULL not defined with my png version.
This commit is contained in:
parent
4fb92b02ae
commit
a0ef3cbebc
1 changed files with 1 additions and 1 deletions
|
@ -235,7 +235,7 @@ global void SaveScreenshotPNG(const char* name)
|
|||
info_ptr = png_create_info_struct(png_ptr);
|
||||
if (info_ptr == NULL) {
|
||||
fclose(fp);
|
||||
png_destroy_write_struct(&png_ptr, png_infopp_NULL);
|
||||
png_destroy_write_struct(&png_ptr, NULL);
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue