Trying to write data to the front buffer, I find CopyPixelFast doesn't work - I get a memory access error.
Running the example code gives exactly the same problem, and mangles the mouse pointer graphic. The faulty code is listed here
I've tried cahnging buffers, locking FrontBuffer() and ImageBuffer(), but nowt works.
Running the example code gives exactly the same problem, and mangles the mouse pointer graphic. The faulty code is listed here
pic=LoadImage("media/blitz_pic.bmp") LockBuffer For y=0 To (ImageHeight(pic)/2)+ImageHeight(pic) For x=0 To ImageWidth(pic) CopyPixelFast x,y,ImageBuffer(pic),x,y Next Next UnlockBuffer WaitKey()
I've tried cahnging buffers, locking FrontBuffer() and ImageBuffer(), but nowt works.