correct typo found by Smaxx
authornemo
Mon, 24 Aug 2009 22:57:59 +0000
changeset 2330 ba46dcda3676
parent 2329 1cfb7d184ee1
child 2331 e4941a7986d6
correct typo found by Smaxx
hedgewars/uWorld.pas
--- 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