diff --git a/src/polyrenderer/scene/poly_cull.cpp b/src/polyrenderer/scene/poly_cull.cpp index e759bdda43..a3361fd627 100644 --- a/src/polyrenderer/scene/poly_cull.cpp +++ b/src/polyrenderer/scene/poly_cull.cpp @@ -28,7 +28,7 @@ #include "poly_cull.h" #include "polyrenderer/poly_renderer.h" -void PolyCull::CullScene(const TriMatrix &worldToClip, const PolyClipPlane &portalClipPlane) +void PolyCull::CullScene(const PolyClipPlane &portalClipPlane) { ClearSolidSegments(); MarkViewFrustum(); diff --git a/src/polyrenderer/scene/poly_cull.h b/src/polyrenderer/scene/poly_cull.h index fe80005012..474a33bb6c 100644 --- a/src/polyrenderer/scene/poly_cull.h +++ b/src/polyrenderer/scene/poly_cull.h @@ -29,7 +29,7 @@ class PolyCull { public: - void CullScene(const TriMatrix &worldToClip, const PolyClipPlane &portalClipPlane); + void CullScene(const PolyClipPlane &portalClipPlane); bool IsLineSegVisible(uint32_t subsectorDepth, uint32_t lineIndex) { diff --git a/src/polyrenderer/scene/poly_scene.cpp b/src/polyrenderer/scene/poly_scene.cpp index 6f84c2d4f5..a9a9cbf40d 100644 --- a/src/polyrenderer/scene/poly_scene.cpp +++ b/src/polyrenderer/scene/poly_scene.cpp @@ -60,7 +60,7 @@ void RenderPolyScene::Render(int portalDepth) SectorPortals.clear(); LinePortals.clear(); - Cull.CullScene(WorldToClip, PortalPlane); + Cull.CullScene(PortalPlane); RenderSectors(); RenderPortals(portalDepth); }