mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2025-02-21 11:21:11 +00:00
Update URL in Picture_IsLumpPNG
garethrees.org went down sometime December 2023 (or at least, it appears to have been wiped out.) So I replaced the URL with an archived version of the same page
This commit is contained in:
parent
e576aefb52
commit
ee7198cb01
1 changed files with 1 additions and 1 deletions
|
@ -901,7 +901,7 @@ void *Picture_TextureToFlat(size_t texnum)
|
|||
*/
|
||||
boolean Picture_IsLumpPNG(const UINT8 *d, size_t s)
|
||||
{
|
||||
if (s < 67) // http://garethrees.org/2007/11/14/pngcrush/
|
||||
if (s < 67) // http://web.archive.org/web/20230524232139/http://garethrees.org/2007/11/14/pngcrush/
|
||||
return false;
|
||||
// Check for PNG file signature using memcmp
|
||||
// As it may be faster on CPUs with slow unaligned memory access
|
||||
|
|
Loading…
Reference in a new issue