- rewrote sky dome rendering to use a static vertex buffer if not on OpenGL 2.x.
This commit is contained in:
parent
2ad47935ef
commit
8d9a90cd22
8 changed files with 240 additions and 149 deletions
|
|
@ -284,7 +284,7 @@ void FVoxelVertexBuffer::BindVBO()
|
|||
glTexCoordPointer(2,GL_FLOAT, sizeof(FVoxelVertex), &VVO->u);
|
||||
glEnableClientState(GL_VERTEX_ARRAY);
|
||||
glEnableClientState(GL_TEXTURE_COORD_ARRAY);
|
||||
glEnableClientState(GL_INDEX_ARRAY);
|
||||
glDisableClientState(GL_COLOR_ARRAY);
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue