mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2025-02-02 05:01:27 +00:00
0a07f4c144
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_hirestex.cpp | ||
gl_hqresize.cpp | ||
gl_hwtexture.cpp | ||
gl_hwtexture.h | ||
gl_material.cpp | ||
gl_material.h | ||
gl_samplers.cpp | ||
gl_samplers.h | ||
gl_texture.cpp | ||
gl_texture.h | ||
gl_translate.cpp | ||
gl_translate.h |