From 5a65265228b80e976703ec2ac86f9fdc275248d5 Mon Sep 17 00:00:00 2001 From: Simon Date: Sat, 4 Sep 2010 15:07:01 +0100 Subject: [PATCH] Thing of the Windows Users --- graphics.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/graphics.c b/graphics.c index 7508c570a..7b9672043 100644 --- a/graphics.c +++ b/graphics.c @@ -896,9 +896,10 @@ void clearrect(pixel *vid, int x, int y, int w, int h) void drawdots(pixel *vid, int x, int y, int h, int r, int g, int b, int a) { #ifdef OpenGL + int i; glBegin(GL_QUADS); glColor4ub(r, g, b, a); - for(int i = 0; i <= h; i +=2) + for(i = 0; i <= h; i +=2) glVertex2i(x, y+i); glEnd(); #else