mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-14 08:31:23 +00:00
- Remove unused function argument
This commit is contained in:
parent
dd8a114bb8
commit
94a33229cc
3 changed files with 3 additions and 3 deletions
|
@ -28,7 +28,7 @@
|
||||||
#include "poly_cull.h"
|
#include "poly_cull.h"
|
||||||
#include "polyrenderer/poly_renderer.h"
|
#include "polyrenderer/poly_renderer.h"
|
||||||
|
|
||||||
void PolyCull::CullScene(const TriMatrix &worldToClip, const PolyClipPlane &portalClipPlane)
|
void PolyCull::CullScene(const PolyClipPlane &portalClipPlane)
|
||||||
{
|
{
|
||||||
ClearSolidSegments();
|
ClearSolidSegments();
|
||||||
MarkViewFrustum();
|
MarkViewFrustum();
|
||||||
|
|
|
@ -29,7 +29,7 @@
|
||||||
class PolyCull
|
class PolyCull
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
void CullScene(const TriMatrix &worldToClip, const PolyClipPlane &portalClipPlane);
|
void CullScene(const PolyClipPlane &portalClipPlane);
|
||||||
|
|
||||||
bool IsLineSegVisible(uint32_t subsectorDepth, uint32_t lineIndex)
|
bool IsLineSegVisible(uint32_t subsectorDepth, uint32_t lineIndex)
|
||||||
{
|
{
|
||||||
|
|
|
@ -60,7 +60,7 @@ void RenderPolyScene::Render(int portalDepth)
|
||||||
|
|
||||||
SectorPortals.clear();
|
SectorPortals.clear();
|
||||||
LinePortals.clear();
|
LinePortals.clear();
|
||||||
Cull.CullScene(WorldToClip, PortalPlane);
|
Cull.CullScene(PortalPlane);
|
||||||
RenderSectors();
|
RenderSectors();
|
||||||
RenderPortals(portalDepth);
|
RenderPortals(portalDepth);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue