diff options
| author | jpbruyere <jp.bruyere@hotmail.com> | 2017-01-01 08:46:35 +0100 |
|---|---|---|
| committer | jpbruyere <jp.bruyere@hotmail.com> | 2017-01-01 08:46:35 +0100 |
| commit | fa245bf07cd476bd6e63c867a4c7c38cca6c4bcc (patch) | |
| tree | 9252bc8ff803d6d40dcc3fa18032e18978b418e0 /Tests/OpenTKGameWindow.cs | |
| parent | f98beedb7a53244564d2207f53f9c93514a2c2d7 (diff) | |
* FileDialog.template:
right pane
* BasicTests.cs:
divers
* OpenTKGameWindow.cs:
sleep removed from update loop
* TemplatedGroup.cs:
replace .clone with quick prop affectations
* Instantiator.cs:
prop less debug
Diffstat (limited to 'Tests/OpenTKGameWindow.cs')
| -rw-r--r-- | Tests/OpenTKGameWindow.cs | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/Tests/OpenTKGameWindow.cs b/Tests/OpenTKGameWindow.cs index 0908ccac..359948c7 100644 --- a/Tests/OpenTKGameWindow.cs +++ b/Tests/OpenTKGameWindow.cs @@ -117,7 +117,7 @@ namespace Crow while (true) { CrowInterface.Update (); - Thread.Sleep (1); + //Thread.Sleep (1); } } @@ -253,11 +253,11 @@ namespace Crow if (frameCpt > 500) { resetFps (); frameCpt = 0; - #if DEBUG - GC.Collect(); - GC.WaitForPendingFinalizers(); - NotifyValueChanged("memory", GC.GetTotalMemory (false).ToString()); - #endif +// #if DEBUG +// GC.Collect(); +// GC.WaitForPendingFinalizers(); +// NotifyValueChanged("memory", GC.GetTotalMemory (false).ToString()); +// #endif } frameCpt++; } |