Kludge: draw within screen until we have clipping working

svn path=/trunk/; revision=2328
This commit is contained in:
Jason Filby 2001-10-31 21:08:00 +00:00
parent 7e2973b768
commit af347caa8c

View file

@ -17,12 +17,12 @@ void __stdcall Background (HDC Desktop)
MoveToEx (Desktop, 0, 0, NULL); MoveToEx (Desktop, 0, 0, NULL);
LineTo (Desktop, 640, 480); LineTo (Desktop, 640, 480);
for (y = 480, x = 0; x < 640; x+=2) for (y = 479, x = 0; x < 640; x+=2)
{ {
MoveToEx (Desktop, 0, 0, NULL); MoveToEx (Desktop, 0, 0, NULL);
LineTo (Desktop, x, y); LineTo (Desktop, x, y);
} }
for (y = 0, x = 640; y < 480; y+=2) for (y = 0, x = 639; y < 480; y+=2)
{ {
MoveToEx (Desktop, 0, 0, NULL); MoveToEx (Desktop, 0, 0, NULL);
LineTo (Desktop, x, y); LineTo (Desktop, x, y);