summaryrefslogtreecommitdiffstats
path: root/src/render/Antennas.cpp
diff options
context:
space:
mode:
authoraap <aap@papnet.eu>2021-02-18 12:21:52 +0100
committeraap <aap@papnet.eu>2021-02-18 12:21:52 +0100
commit996772faf2b7ed17269af194c6d9dcbdb37732fe (patch)
treecfb4d76317a169f665bf1f500e36d4aa2c0e54ec /src/render/Antennas.cpp
parentMerge branch 'miami' of github.com:GTAmodding/re3 into miami (diff)
downloadre3-996772faf2b7ed17269af194c6d9dcbdb37732fe.tar
re3-996772faf2b7ed17269af194c6d9dcbdb37732fe.tar.gz
re3-996772faf2b7ed17269af194c6d9dcbdb37732fe.tar.bz2
re3-996772faf2b7ed17269af194c6d9dcbdb37732fe.tar.lz
re3-996772faf2b7ed17269af194c6d9dcbdb37732fe.tar.xz
re3-996772faf2b7ed17269af194c6d9dcbdb37732fe.tar.zst
re3-996772faf2b7ed17269af194c6d9dcbdb37732fe.zip
Diffstat (limited to 'src/render/Antennas.cpp')
-rw-r--r--src/render/Antennas.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/render/Antennas.cpp b/src/render/Antennas.cpp
index 452069a0..5e30aca2 100644
--- a/src/render/Antennas.cpp
+++ b/src/render/Antennas.cpp
@@ -1,5 +1,6 @@
#include "common.h"
+#include "main.h"
#include "Antennas.h"
CAntenna CAntennas::aAntennas[NUMANTENNAS];
@@ -70,6 +71,7 @@ CAntennas::Render(void)
{
int i, j;
+ PUSH_RENDERGROUP("CAntennas::Render");
for(i = 0; i < NUMANTENNAS; i++){
if(!aAntennas[i].active)
continue;
@@ -101,6 +103,8 @@ CAntennas::Render(void)
}
RwRenderStateSet(rwRENDERSTATEVERTEXALPHAENABLE, (void*)FALSE);
+
+ POP_RENDERGROUP();
}
void