protected override void OnRenderFrame(FrameEventArgs e) { base.OnRenderFrame(e); UpdateScreen(); //parent.Position = new Vector2(pos+=0.5f, 0); DisplayObjectContainer.Update(); this.SwapBuffers(); }