summaryrefslogtreecommitdiff
path: root/src/renderergl2/tr_main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/renderergl2/tr_main.c')
-rw-r--r--src/renderergl2/tr_main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/renderergl2/tr_main.c b/src/renderergl2/tr_main.c
index 85a56b10..132ef309 100644
--- a/src/renderergl2/tr_main.c
+++ b/src/renderergl2/tr_main.c
@@ -1576,7 +1576,7 @@ static qboolean SurfIsOffscreen( const drawSurf_t *drawSurf, vec4_t clipDest[128
shortest = len;
}
- R_VboUnpackNormal(tNormal, tess.normal[tess.indexes[i]]);
+ R_VaoUnpackNormal(tNormal, tess.normal[tess.indexes[i]]);
if ( DotProduct( normal, tNormal ) >= 0 )
{