mirror of
https://github.com/ZDoom/gzdoom-last-svn.git
synced 2025-06-02 02:01:19 +00:00
Update to ZDoom r2448:
- addition of and changes for new polyobject code. git-svn-id: http://mancubus.net/svn/hosted/gzdoom/trunk@846 b0f79afe-0144-0410-b225-9a4edf0717df
This commit is contained in:
parent
0dcbdf347b
commit
76780fd5b1
25 changed files with 1347 additions and 889 deletions
|
@ -50,6 +50,7 @@
|
|||
#include "r_bsp.h"
|
||||
#include "r_plane.h"
|
||||
#include "v_palette.h"
|
||||
#include "po_man.h"
|
||||
//#include "gl/data/gl_data.h"
|
||||
#include "gl/gl_functions.h"
|
||||
|
||||
|
@ -1496,6 +1497,8 @@ void R_RenderActorView (AActor *actor, bool dontmaplines)
|
|||
{
|
||||
camera->renderflags |= RF_INVISIBLE;
|
||||
}
|
||||
// Link the polyobjects right before drawing the scene to reduce the amounts of calls to this function
|
||||
PO_LinkToSubsectors();
|
||||
if (r_polymost < 2)
|
||||
{
|
||||
R_RenderBSPNode (nodes + numnodes - 1); // The head node is the last node output.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue