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.

Aha, found out that even without setgraphics and any drawing commands and the centreing code, the window get's shown ANYWAY!

Strict

Local mygraphics:TGraphics = CreateGraphics(640 , 480,0,0,GRAPHICS_BACKBUFFER)
'ccCentreWindow()
'SetGraphics mygraphics
EnablePolledInput()

'Graphics(640 , 480,0,0,GRAPHICS_BACKBUFFER)
'ccCentreWindow()

Repeat
'	Cls
'	DrawText "Hello World!" , 0 , 0
'	Flip
Until KeyHit(KEY_ESCAPE)


why is that!