mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-02-16 17:01:53 +00:00
[image] Update stub WritePNG's definition
Fixes some bitrot for when libpng is unavailable
This commit is contained in:
parent
feba790348
commit
745778979a
1 changed files with 4 additions and 3 deletions
|
@ -206,7 +206,7 @@ LoadPNG (QFile *infile, int load)
|
|||
|
||||
#define WRITEPNG_BIT_DEPTH 8
|
||||
|
||||
int
|
||||
VISIBLE int
|
||||
WritePNG (QFile *outfile, const tex_t *tex)
|
||||
{
|
||||
int i;
|
||||
|
@ -299,9 +299,10 @@ LoadPNG (QFile *infile, int load)
|
|||
return 0;
|
||||
}
|
||||
|
||||
VISIBLE void
|
||||
WritePNG (QFile *outfile, const byte *data, int width, int height)
|
||||
VISIBLE int
|
||||
WritePNG (QFile *outfile, const tex_t *tex)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Reference in a new issue