hedgewars/uWorld.pas
changeset 2330 ba46dcda3676
parent 2302 0f122917d799
child 2357 babe1a55e284
--- a/hedgewars/uWorld.pas	Sun Aug 23 12:01:55 2009 +0000
+++ b/hedgewars/uWorld.pas	Mon Aug 24 22:57:59 2009 +0000
@@ -215,7 +215,7 @@
 
 	glDrawArrays(GL_TRIANGLE_FAN, 0, Length(VertexBuffer));
 
-	glEnableClientState(GL_COLOR_ARRAY);
+	glDisableClientState(GL_VERTEX_ARRAY);
 	glDisableClientState(GL_COLOR_ARRAY);
 
 	glColor4f(1, 1, 1, 1); // disable coloring