- removed translation hack for alpha textures.

This will cause incorrectly generated textures and the reason for this no longer exists because CreateTexBuffer is doing this as a postprocessing step now.
This commit is contained in:
Christoph Oelckers 2018-04-02 03:38:25 +02:00
parent 524df21d81
commit 4357f0dc40

View file

@ -373,18 +373,6 @@ void gl_PrintStartupLog()
glGetIntegerv(GL_MAX_VERTEX_SHADER_STORAGE_BLOCKS, &v); glGetIntegerv(GL_MAX_VERTEX_SHADER_STORAGE_BLOCKS, &v);
Printf("Max. vertex shader storage blocks: %d\n", v); Printf("Max. vertex shader storage blocks: %d\n", v);
} }
// For shader-less, the special alphatexture translation must be changed to actually set the alpha, because it won't get translated by a shader.
if (gl.legacyMode)
{
FRemapTable *remap = translationtables[TRANSLATION_Standard][8];
for (int i = 0; i < 256; i++)
{
remap->Remap[i] = i;
remap->Palette[i] = PalEntry(i, 255, 255, 255);
}
}
} }
std::pair<double, bool> gl_getInfo() std::pair<double, bool> gl_getInfo()