oops, this was broken
This commit is contained in:
parent
62d99f889c
commit
d005d46d64
|
|
@ -167,9 +167,9 @@ static void LoadPNGBuffer( byte *buffer, int size, byte **pixels, int *width, in
|
|||
}
|
||||
|
||||
/* set read callback */
|
||||
pb->buffer = buffer;
|
||||
pb->size = size;
|
||||
pb->offset = 0;
|
||||
pb.buffer = buffer;
|
||||
pb.size = size;
|
||||
pb.offset = 0;
|
||||
png_set_read_fn( png, &pb, PNGReadData );
|
||||
//png->io_ptr = &pb; /* hack! */
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user