Merge branch 'master' into sdl2
This commit is contained in:
commit
ed087bb89e
320 files changed
+18335
-9574
No files matched your search
@@ -37,8 +37,8 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
#include <jpeglib.h>
|
||||
|
||||
#ifndef USE_INTERNAL_JPEG
|
||||
# if JPEG_LIB_VERSION < 80
|
||||
# error Need system libjpeg >= 80
|
||||
# if JPEG_LIB_VERSION < 80 && !defined(MEM_SRCDST_SUPPORTED)
|
||||
# error Need system libjpeg >= 80 or jpeg_mem_ support
|
||||
# endif
|
||||
#endif
|
||||
|
||||
|
||||
@@ -2274,7 +2274,7 @@ void R_LoadPNG(const char *name, byte **pic, int *width, int *height)
|
||||
{
|
||||
case PNG_ColourType_Grey :
|
||||
{
|
||||
if(!ChunkHeaderLength == 2)
|
||||
if(ChunkHeaderLength != 2)
|
||||
{
|
||||
CloseBufferedFile(ThePNG);
|
||||
|
||||
@@ -2296,7 +2296,7 @@ void R_LoadPNG(const char *name, byte **pic, int *width, int *height)
|
||||
|
||||
case PNG_ColourType_True :
|
||||
{
|
||||
if(!ChunkHeaderLength == 6)
|
||||
if(ChunkHeaderLength != 6)
|
||||
{
|
||||
CloseBufferedFile(ThePNG);
|
||||
|
||||
|
||||
Reference in new issue
Block a user