@all
what's wrong with this:
what's wrong with this:
Dim pix(vh_scrwidth,vh_scrheight) LockBuffer(FrontBuffer) For y=0 To vh_scrwidth For x=0 To vh_scrheight pix(x,y)=ReadPixelFast(x,y) Next Next LockBuffer(FrontBuffer) For y=0 To vh_scrwidth For x=0 To vh_scrheight WritePixelFast x,y,$00,$00,$00,pix(x,y) Next Next UnlockBuffer (FrontBuffer)