Strict Graphics 320,240,0 Local test:timage Local pix:tpixmap Repeat test:timage=CreateImage(32,32) pix=LockImage(test) UnlockImage(test) FlushMem Flip Print MemAlloced() WaitKey Until KeyDown(key_escape)
By defining pix and using strict, the problem goes away. This is possibly because pix isn't defined. I do not know why.
Anyone know why this is?