testing... what's wrong with this?

BlitzMax Forums/BlitzMax Beginners Area/testing... what's wrong with this?

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

Graphics 800,600,0,60 'the 0 stands for debugging, 60 is the herts(FPS)

Incbin "images/background.bmp"

Global g_background:TImage = LoadImage("IncBin::images/background.bmp")
while not keyhit(key_escape)

DrawImage g_background,0,0
flip
cls
wend
would be proper