From c3fa9b76c4a62aee3426d5fd2fc04aebd28f0267 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 7fc99d42c..cbbe944c5 100644 --- a/source/build/src/polymost.cpp +++ b/source/build/src/polymost.cpp @@ -2457,6 +2457,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)