Quote: "Here's the code that causes problems with DrawBox():"
I also get 3 horisontal lines with that code on windows.
Edit: Using Virtual resolution instead of display aspect seems to work.
//*** Window title and size ***
SetWindowTitle("Test DrawBox")
SetWindowSize( 1024, 720, 0 )
rem SetDisplayAspect( 1024.0/ 720.0 )
SetVirtualResolution( 1024, 720 )
//*** Create colour values ***
red = MakeColor(255,0,0)
green = MakeColor(0,255,0)
blue = MakeColor(0,0,255)
yellow = MakeColor(255,255,0)
do
//*** Draw rectangle ***
rem DrawBox(10,10,90,90,red,green,blue,yellow,1)
DrawBox( 1024.0*0.1, 720.0*0.1, 1024.0*0.9, 720.0*0.9, red, green, blue, yellow, 1 )
Sync()
loop