Yes, I made a mistake in my test code. This would work:
The way I had it before, test_image was just an integer making a reference to the real test_image object. But when declared as a TImage, you are accessing it directly.
Sorry about the confusion!
Local test_image:TImage = LoadImage("test.jpg") DrawImage test_image, 0, 0 test_image = NULL Flushmem
The way I had it before, test_image was just an integer making a reference to the real test_image object. But when declared as a TImage, you are accessing it directly.
Sorry about the confusion!