OpenGL2: Vertex array object support.
This commit is contained in:
parent
873a02bd3c
commit
84206c8598
19 changed files with 582 additions and 666 deletions
|
@ -388,9 +388,9 @@ void R_AddMD3Surfaces( trRefEntity_t *ent ) {
|
|||
// don't add third_person objects if not viewing through a portal
|
||||
if(!personalModel)
|
||||
{
|
||||
srfVBOMDVMesh_t *vboSurface = &model->vboSurfaces[i];
|
||||
srfVaoMdvMesh_t *vaoSurface = &model->vaoSurfaces[i];
|
||||
|
||||
R_AddDrawSurf((void *)vboSurface, shader, fogNum, qfalse, qfalse, cubemapIndex );
|
||||
R_AddDrawSurf((void *)vaoSurface, shader, fogNum, qfalse, qfalse, cubemapIndex );
|
||||
}
|
||||
|
||||
surface++;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue