mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-25 05:21:02 +00:00
- 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:
parent
524df21d81
commit
4357f0dc40
1 changed files with 0 additions and 12 deletions
|
@ -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()
|
||||||
|
|
Loading…
Reference in a new issue