Don't draw translucent stuff with indexed textures

This commit is contained in:
Magnus Norddahl 2025-05-20 03:41:20 +02:00
commit 3a9373da6c

View file

@ -834,14 +834,14 @@ void HWDrawInfo::RenderScene(FRenderState &state)
drawlists[GLDL_MODELS].Draw(this, state, false);
state.SetPaletteMode(false); // Translucent stuff uses other rules in the software renderer. We don't support that right now.
state.SetRenderStyle(STYLE_Translucent);
// Part 4: Draw decals (not a real pass)
state.SetDepthFunc(DF_LEqual);
DrawDecals(state, Decals[0]);
state.SetPaletteMode(false);
RenderAll.Unclock();
}