Use a simpler algorithm for the stencil buffer as the old one was too slow

This commit is contained in:
Magnus Norddahl 2016-11-12 13:50:28 +01:00
commit e3dc9c93b9
6 changed files with 44 additions and 85 deletions

View file

@ -41,6 +41,9 @@ CVAR(Bool, r_debug_cull, 0, 0)
void RenderPolyBsp::Render()
{
if (!r_swtruecolor) // Disable pal rendering for now
return;
// Setup working buffers
PolyVertexBuffer::Clear();
SolidSegments.clear();