- rewrote sky dome rendering to use a static vertex buffer if not on OpenGL 2.x.

This commit is contained in:
Christoph Oelckers 2014-06-14 01:24:28 +02:00
commit 8d9a90cd22
8 changed files with 240 additions and 149 deletions

View file

@ -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);
}