From 263220b82eadc878900668d22d867122fc735968 Mon Sep 17 00:00:00 2001 From: SmileTheory Date: Tue, 14 Oct 2014 01:50:44 -0700 Subject: OpenGL2: Vertex array object support. --- src/renderergl2/tr_world.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/renderergl2/tr_world.c') 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; -- cgit