From 2602774571c849b19cd4a6e15932f6e21062ae35 Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Sun, 30 Aug 2020 17:36:21 +0200 Subject: [PATCH] - fixed: The render style must be set to a defined value at the start of rendering a scene. --- source/build/src/polymost.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/source/build/src/polymost.cpp b/source/build/src/polymost.cpp index 7ff3c180c..408b1092a 100644 --- a/source/build/src/polymost.cpp +++ b/source/build/src/polymost.cpp @@ -3039,6 +3039,7 @@ void polymost_drawrooms() GLInterface.EnableAlphaTest(false); GLInterface.EnableDepthTest(true); GLInterface.SetDepthFunc(DF_LEqual); + GLInterface.SetRenderStyle(LegacyRenderStyles[STYLE_Translucent]); gvrcorrection = viewingrange*(1.f/65536.f); //if (glprojectionhacks == 2)