Skip to content

Big room fix for OpenGL

Hannu Hanhi requested to merge Hannu_Hanhi/SRB2:ogl-big-room-fix into next

This patch fixes some rendering issues with big rooms in OpenGL by using a 64-bit version of R_PointToAngle for culling calculations.

Before:

srb20049

After:

srb20050

(The black void in the after-picture is the culling plane / "draw distance" which could be adjusted in the rendering code if needed)

Merge request reports