31
Window / Mouse movement causing framerate drop
« on: March 19, 2011, 11:29:44 pm »
You're my hero! Removing that line and recompiling the libraries fixed it.
Thanks, Laurent.
Thanks, Laurent.
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
appWindow.MouseMoved += new EventHandler<MouseMoveEventArgs>(appWindow_MouseMoved);
void appWindow_MouseMoved(object sender, SFML.Window.MouseMoveEventArgs e)
{
this.mousemoveCounter++;
}
public void Update(float elapsedTime)
{
this.App.DispatchEvents();
this.mouseX = this.App.Input.GetMouseX();
this.mouseY = this.App.Input.GetMouseY();
}