Is there a graphics library or something I could use for 2.71
Like the graphics.c but made for 2.71
I have no clue why it does not work but it isnt loading the image
image->data = (Color*) memalign(16, image->textureWidth * image->textureHeight * sizeof(Color));
if (!image->data) {
free(image);
fclose(fp);
png_destroy_read_struct(&png_ptr, png_infopp_NULL, png_infopp_NULL);
return NULL;
}
some where in that block it does not work right nad return null for the loaded image so I couldnt use it.
Graphics Library for 2.71 se?
This means your allocation fails, what can have some reasons:
a) you're running out of memory - check how much you're allocating
b) you have a buffer/stack overflow somewhere before that, which causes the alloc to fail (most likely)
a) you're running out of memory - check how much you're allocating
b) you have a buffer/stack overflow somewhere before that, which causes the alloc to fail (most likely)
<Don't push the river, it flows.>
http://wordpress.fx-world.org - my devblog
http://wiki.fx-world.org - VFPU documentation wiki
Alexander Berl
http://wordpress.fx-world.org - my devblog
http://wiki.fx-world.org - VFPU documentation wiki
Alexander Berl