- 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

@ -325,6 +325,7 @@ void FFlatVertexBuffer::BindVBO()
glTexCoordPointer(2,GL_FLOAT, sizeof(FFlatVertex), &VTO->u);
glEnableClientState(GL_VERTEX_ARRAY);
glEnableClientState(GL_TEXTURE_COORD_ARRAY);
glDisableClientState(GL_COLOR_ARRAY);
}
}