mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-11 15:22:15 +00:00
Fixed RenderCamera event in software renderer
This commit is contained in:
parent
302af61686
commit
ac19af7514
1 changed files with 3 additions and 0 deletions
|
@ -618,6 +618,9 @@ void R_HighlightPortal (PortalDrawseg* pds)
|
||||||
|
|
||||||
void R_EnterPortal (PortalDrawseg* pds, int depth)
|
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.
|
// [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)
|
if (depth >= r_portal_recursions)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue