The old logic used a translation table that does not work with color images, it was designed to handle 8 bit grayscale images. So now, it creates a true color buffer and then turns it into a texture with R,G,B = 255 and the alpha channel set to the grayscale value. This was also the reason why crosshairs made from 32 bit PNGs did not show correctly. |
||
|---|---|---|
| .. | ||
| gl_2ddrawer.cpp | ||
| gl_2ddrawer.h | ||
| gl_colormap.h | ||
| gl_lightdata.cpp | ||
| gl_lightdata.h | ||
| gl_postprocess.cpp | ||
| gl_postprocessstate.cpp | ||
| gl_postprocessstate.h | ||
| gl_quaddrawer.cpp | ||
| gl_quaddrawer.h | ||
| gl_renderbuffers.cpp | ||
| gl_renderbuffers.h | ||
| gl_renderer.cpp | ||
| gl_renderer.h | ||
| gl_renderstate.cpp | ||
| gl_renderstate.h | ||