Support non-indexed PNGs in OpenGL
This also works with textures, flats and sprites. I'm not sure what happens with translucent or blended composite patches with translucent pixels. I also haven't tested what happens with grayscale PNGs - I'm assuming they just get converted into RGBA.
Test files: doge.wad earless.wad
Edited by Lactozilla