Flicker when centring window

BlitzMax Forums/BlitzMax Programming/Flicker when centring window

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.

Well? Did you try it?
This seems to work OK for me...
mygraphics:TGraphics = CreateGraphics(640 , 480,0,0,GRAPHICS_BACKBUFFER)
ccCentreWindow()
SetGraphics mygraphics
Repeat
	Cls
	DrawText "Hello World!" , 0 , 0
	Flip
Forever


<Edit> Just noticed a slight flicker.