Forgot color write was disabled for the first draw

This commit is contained in:
dpjudas 2024-09-01 22:49:45 +02:00
commit c71261bd0f

View file

@ -464,7 +464,7 @@ void HWDrawInfo::CreateScene(bool drawpsprites, FRenderState& state)
// draw opaque level so the GPU has something to do while we examine the query results
state.DrawLevelMesh(LevelMeshDrawType::Opaque, false);
//state.DrawLevelMesh(LevelMeshDrawType::Masked, false);
state.DrawLevelMesh(LevelMeshDrawType::Masked, false);
if (!gl_portals)
{
state.SetDepthBias(1, 128);