summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon <simon@hardwired.org.uk>2010-09-04 14:07:01 (GMT)
committer Simon <simon@hardwired.org.uk>2010-09-04 14:07:01 (GMT)
commit5a65265228b80e976703ec2ac86f9fdc275248d5 (patch)
tree220383ecc5a6502a58114001b5b77fe534d19202
parent8b92a1eb9b2dd91286e70dc72b2ac007fe7db61c (diff)
downloadpowder-5a65265228b80e976703ec2ac86f9fdc275248d5.zip
powder-5a65265228b80e976703ec2ac86f9fdc275248d5.tar.gz
Thing of the Windows Users
-rw-r--r--graphics.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/graphics.c b/graphics.c
index 7508c57..7b96720 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