Can't see a rectangle

BlitzMax Forums/BlitzMax Beginners Area/Can't see a rectangle

Why doesn't a rectangle show when I run this?

Graphics 800,600
SetColor(255,255,255)
DrawRect(100,100,50,50)
WaitKey()
End


Graphics 800,600
SetColor(255,255,255)
DrawRect(100,100,50,50)

Flip

WaitKey()
End


Well that explains it. Doh!

Thanks Neville.