Hello I'm trying to get my game to update the screen and draw graphics on its own I kind of made it happen but it still flickers which you can see in this video I made just too showcase this problem
http://www.youtube.com/watch?v=9j_ZDHr1x_8
Now I really don't know what is causing this its really strange if you look at the code you will know what I mean
and here is the code of which the problem lies
any solutions would be great thanks :)