From dd516b573bf6f02308ba2385f030b5e13e827ab9 Mon Sep 17 00:00:00 2001 From: Alug Date: Sat, 26 Oct 2024 19:31:06 +0200 Subject: [PATCH] rename this to avoid confusion --- src/hardware/hw_portal.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/hardware/hw_portal.c b/src/hardware/hw_portal.c index f560fb973..56682fc6f 100644 --- a/src/hardware/hw_portal.c +++ b/src/hardware/hw_portal.c @@ -47,7 +47,7 @@ void HWR_PortalClipping(gl_portal_t *portal) gld_clipper_SafeAddClipRange(angle2, angle1); } -static gl_portal_t* Portal_Add (seg_t *seg) +static gl_portal_t* HWR_Portal_Add (seg_t *seg) { gl_portal_t *portal = Z_Malloc(sizeof(gl_portal_t), PU_STATIC, NULL); @@ -88,7 +88,7 @@ void HWR_FreePortalList(gl_portallist_t freelist) void HWR_Portal_Add2Lines(const INT32 line1, const INT32 line2, seg_t *seg) { - gl_portal_t *portal = Portal_Add(seg); + gl_portal_t *portal = HWR_Portal_Add(seg); // Offset the portal view by the linedef centers line_t* start = &lines[line1];