|
-
February 12th, 2010, 06:26 PM
#1
flashy when refresh()
hello guys,
i'm implementing a simple game with c#. question is how to redraw the window form.
my game loop is really simple:
while (!stop)
{
gl.gamelogic();
Refresh();
//Update();
Application.DoEvents();
}
i have tried both refresh and update.
update doesn't really redraw the form immediately unless i resize the form.
refresh redraws the form immediately, but the resulting animation looks really flashy.
how can i get rid of the flashy result? thanks
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|