Go to the source code of this file.
|
static void | PNGError (png_structp png, png_const_charp message) |
|
static void | PNGWarning (png_structp png, png_const_charp message) |
|
static void | PNGRead (png_structp png, png_bytep bytes, png_size_t size) |
|
◆ MSG_TERMINATOR
#define MSG_TERMINATOR "" |
◆ PNGError()
static void PNGError |
( |
png_structp | png, |
|
|
png_const_charp | message ) |
|
static |
Definition at line 220 of file OOPNGTextureLoader.m.
221{
223 OOLog(
@"texture.load.png.error",
@"***** A PNG loading error occurred for %@: %s" MSG_TERMINATOR, [loader path], message);
224
225#if PNG_LIBPNG_VER >= 10500
226 png_longjmp(png, 1);
227#else
228 longjmp(png_jmpbuf(png), 1);
229#endif
230}
#define OOLog(class, format,...)
References MSG_TERMINATOR, and OOLog.
◆ PNGRead()
static void PNGRead |
( |
png_structp | png, |
|
|
png_bytep | bytes, |
|
|
png_size_t | size ) |
|
static |
Definition at line 240 of file OOPNGTextureLoader.m.
241{
244}
void readBytes:count:(png_bytep bytes,[count] png_size_t count)
◆ PNGWarning()
static void PNGWarning |
( |
png_structp | png, |
|
|
png_const_charp | message ) |
|
static |