- 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 c47b60e193
commit c3fa9b76c4

View file

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