0
0
Fork 0
mirror of https://github.com/ZDoom/raze-gles.git synced 2025-01-19 22:00:49 +00:00

- 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.EnableAlphaTest(false);
GLInterface.EnableDepthTest(true); GLInterface.EnableDepthTest(true);
GLInterface.SetDepthFunc(DF_LEqual); GLInterface.SetDepthFunc(DF_LEqual);
GLInterface.SetRenderStyle(LegacyRenderStyles[STYLE_Translucent]);
gvrcorrection = viewingrange*(1.f/65536.f); gvrcorrection = viewingrange*(1.f/65536.f);
//if (glprojectionhacks == 2) //if (glprojectionhacks == 2)