summaryrefslogtreecommitdiff
path: root/src/renderergl2/tr_world.c
diff options
context:
space:
mode:
authorSmileTheory <SmileTheory@gmail.com>2014-10-14 01:50:44 -0700
committerTim Angus <tim@ngus.net>2015-03-17 11:38:53 +0000
commit263220b82eadc878900668d22d867122fc735968 (patch)
treeed4090d85c5dcee325b6c274ea2a643e7d646498 /src/renderergl2/tr_world.c
parent70b1f9dd1c8a530aa4b2a8510fb7f365331303d8 (diff)
OpenGL2: Vertex array object support.
Diffstat (limited to 'src/renderergl2/tr_world.c')
-rw-r--r--src/renderergl2/tr_world.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/renderergl2/tr_world.c b/src/renderergl2/tr_world.c
index 9547c2e4..85f252dc 100644
--- a/src/renderergl2/tr_world.c
+++ b/src/renderergl2/tr_world.c
@@ -214,7 +214,7 @@ static int R_DlightSurface( msurface_t *surf, int dlightBits ) {
case SF_FACE:
case SF_GRID:
case SF_TRIANGLES:
- case SF_VBO_MESH:
+ case SF_VAO_MESH:
((srfBspSurface_t *)surf->data)->dlightBits = dlightBits;
break;
@@ -300,7 +300,7 @@ static int R_PshadowSurface( msurface_t *surf, int pshadowBits ) {
case SF_FACE:
case SF_GRID:
case SF_TRIANGLES:
- case SF_VBO_MESH:
+ case SF_VAO_MESH:
((srfBspSurface_t *)surf->data)->pshadowBits = pshadowBits;
break;