flashing screen?

Blitz3D Forums/Blitz3D Beginners Area/flashing screen?

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.

I am using 2 dimensions in this screen, but when I run the program in full screen mode part of it flickers, and I can't figure out why. This has never been a problem for me before...

Global width = 1280
Global height = 960
Graphics width,height,0,1
SetBuffer BackBuffer()
SeedRnd MilliSecs()



map_image = LoadImage("graphics/map_background.jpg")
ResizeImage map_image,width,height

Repeat

cls

DrawImage map_image,0,0

Flip
Until KeyDown(1)
End