gzdoom-gles/src/gl/textures
Christoph Oelckers 0a07f4c144 - fixed alpha texture generation for OpenGL rendering.
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.
2018-03-22 23:57:14 +01:00
..
gl_hirestex.cpp - untangled r_defs.h from actor.h 2017-03-10 02:22:42 +01:00
gl_hqresize.cpp Moved parallel_for() function template to own header file 2017-07-15 12:16:06 +03:00
gl_hwtexture.cpp - allow allocating constructor of TArray to also reserve the allocated data and use this to properly handle the precalc arrays for the texture resizer. 2017-11-03 17:27:32 +01:00
gl_hwtexture.h Fix tonemap texture filtering (black screen) regression 2016-11-28 02:32:57 +01:00
gl_material.cpp - fixed alpha texture generation for OpenGL rendering. 2018-03-22 23:57:14 +01:00
gl_material.h - avoid using plain chars as variables. 2017-07-15 09:01:02 +02:00
gl_samplers.cpp - except for DWORD, all homegrown integer types are gone - a handful were left where they represent genuine Windows types. 2017-03-09 19:54:41 +01:00
gl_samplers.h - except for DWORD, all homegrown integer types are gone - a handful were left where they represent genuine Windows types. 2017-03-09 19:54:41 +01:00
gl_texture.cpp - extended FTexture::GetPixels and FTexture::GetColumn by a RenderStyle parameter. 2018-03-18 21:33:44 +01:00
gl_texture.h - split out the span generation from most texture classes 2018-03-18 12:36:14 +01:00
gl_translate.cpp - except for DWORD, all homegrown integer types are gone - a handful were left where they represent genuine Windows types. 2017-03-09 19:54:41 +01:00
gl_translate.h