More results: This BlitzPlus code:
is smooth on my PC but not on the laptop. However if I change the last Graphics flag to 2 (for windowed mode) it is smooth.
BUT if I change the BlitzMax code sample to run in windowed mode: i.e. Graphics 800,600,0,60 It's still jerky. If I remove the 60Hz off then end: Graphics 800,600,0 it's still jerky. And finally if I do this in BlitzMax:
It' STILL jerky. What gives?
Graphics 800,600,32,1 Local s =100 Local x=0-s Local y = 300 Local Sync =1 While Not KeyHit(1) Cls Rect x,y,s,s Text 0,0,"Flip "+Sync Flip Sync x=x+5 If x > 800 Then x = 0-s If KeyHit(57) Then Sync = Not sync EndIf Wend
is smooth on my PC but not on the laptop. However if I change the last Graphics flag to 2 (for windowed mode) it is smooth.
BUT if I change the BlitzMax code sample to run in windowed mode: i.e. Graphics 800,600,0,60 It's still jerky. If I remove the 60Hz off then end: Graphics 800,600,0 it's still jerky. And finally if I do this in BlitzMax:
Local DesktopRefreshRate = GetDeviceCaps(GetDC(0),VREFRESH) Graphics 800,600,0,DesktopRefreshRate
It' STILL jerky. What gives?