@willmotil wrote:
mousestate = Mouse.GetState(Window); // with or without the window as a parameter.
The above line all alone generates about 1 megabyte of garbage every minute when i run with is timestep off.
Granted this is basically a empty project but im trying to eliminate garbage collection in tuning up my ui class to allow it to be a standalone project. This is vexing because i constantly see it dropping about 8kb like a hearbeat even when i run at 60 fps.
Does anyone know of a way to prevent it from creating garbage ? Or a alternate way to poll the mouse.
Posts: 9
Participants: 4