just a little thing fred, this is curious :Fred wrote:True, 0.016 secs here to fill a 1152x864 32 bits screen isn't badThomas wrote:As you can see the plot command is fast as lightning..
Code: Select all
initsprite()
hw=OpenWindow(0,0,0,800,600,0,"")
OpenWindowedScreen(hw,0,0,800,600,0,0,0)
ti=GetTickCount_()
StartDrawing(ScreenOutput())
frontcolor(rgb(200,124,50))
For n=0 to 10
For y=0 To 599
For x=0 To 799
Plot(x,y,rgb(y/3,124,50))
;plot(x,y)
Next
Next
Next
StopDrawing()
ti=GetTickCount_()-ti
FlipBuffers()
MessageRequester("Plot Speed","PB needs "+StrF(ti/1000)+" sec for "+Str(n*800*600)+" pixels!")
bug ?