: > static void linear24_drawpixel(PSD psd, MWCOORD x, MWCOORD y, MWPIXELVAL c) : : and the assertion looks like: : : > assert (c < psd->ncolors); : : It seems like the PNG buffer is read as 32 bit values, but the
What version are you running? The git repository should not have this issue. I am in the process of moving to alpha-compositing support, so the assert fails because the high byte of the RGB color value defaults to 255 alpha, which is outside the 24-bit color range. Regards, Greg --------------------------------------------------------------------- To unsubscribe, e-mail: nanogui-unsubscr...@linuxhacker.org For additional commands, e-mail: nanogui-h...@linuxhacker.org