OpenGL2: Vertex array object support.

This commit is contained in:
SmileTheory committed 2014-10-14 01:50:44 -07:00
1 parent 873a02bd3c
commit 84206c8598
19 files changed
+582 -666

No files matched your search

+2 -2
View File
@@ -213,7 +213,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;
@@ -299,7 +299,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;