diff options
| author | jpbruyere <jp.bruyere@hotmail.com> | 2016-02-04 22:14:26 +0100 |
|---|---|---|
| committer | jpbruyere <jp.bruyere@hotmail.com> | 2016-02-04 22:14:26 +0100 |
| commit | 64572f9c6301ddf4ed2921597366ff3ebd3d7c0f (patch) | |
| tree | cd4099800ba510eb7f6910fea616d221ec92b3ba /src/OpenTKGameWindow.cs | |
| parent | 335a36c2180bf112f6b4317deeb0f947c10197ac (diff) | |
LayoutingQueue as LinkedList<T>, perf improvments not fantastish
Diffstat (limited to 'src/OpenTKGameWindow.cs')
| -rw-r--r-- | src/OpenTKGameWindow.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/OpenTKGameWindow.cs b/src/OpenTKGameWindow.cs index 6726a87c..fcd08f95 100644 --- a/src/OpenTKGameWindow.cs +++ b/src/OpenTKGameWindow.cs @@ -261,7 +261,7 @@ namespace Crow #endif //Debug.WriteLine ("======= Layouting queue start ======="); - while (Interface.LayoutingQueue.Count > 0) { + while (Interface.LayoutingQueue.First != null) { // Stopwatch lqiProcTime = new Stopwatch (); // lqiProcTime.Start (); LayoutingQueueItem lqi = Interface.LayoutingQueue.Dequeue (); |