summaryrefslogtreecommitdiffstats
path: root/src/render/Glass.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/render/Glass.cpp')
-rw-r--r--src/render/Glass.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/render/Glass.cpp b/src/render/Glass.cpp
index 3b6fbd46..ede06ba1 100644
--- a/src/render/Glass.cpp
+++ b/src/render/Glass.cpp
@@ -261,6 +261,8 @@ CGlass::Render(void)
RwRenderStateSet(rwRENDERSTATEDESTBLEND, (void *)rwBLENDONE);
RwRenderStateSet(rwRENDERSTATEVERTEXALPHAENABLE, (void *)TRUE);
+ PUSH_RENDERGROUP("CGlass::Render");
+
for ( int32 i = 0; i < NUM_GLASSPANES; i++ )
{
if ( aGlassPanes[i].m_bActive )
@@ -270,6 +272,8 @@ CGlass::Render(void)
for ( uint32 i = 0; i < NumGlassEntities; i++ )
RenderEntityInGlass(apEntitiesToBeRendered[i]);
+ POP_RENDERGROUP();
+
NumGlassEntities = 0;
RenderHiLightPolys();