- fixed: The render style must be set to a defined value at the start of rendering a scene.

This commit is contained in:
Christoph Oelckers 2020-08-30 17:36:21 +02:00
parent 829bc10ccb
commit 2602774571

View file

@ -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)