Fixed RenderCamera event in software renderer

This commit is contained in:
ZZYZX 2017-01-22 07:29:18 +02:00
parent 9c1c7129c1
commit 578ae9b62a

View file

@ -618,6 +618,9 @@ void R_HighlightPortal (PortalDrawseg* pds)
void R_EnterPortal (PortalDrawseg* pds, int depth)
{
// [ZZ] portal hook
E_RenderCamera();
// [ZZ] check depth. fill portal with black if it's exceeding the visual recursion limit, and continue like nothing happened.
if (depth >= r_portal_recursions)
{