OpenGL2: Vertex array object support.
This commit is contained in:
parent
873a02bd3c
commit
84206c8598
19 changed files with 582 additions and 666 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue