aboutsummaryrefslogtreecommitdiffstatsci
path: root/src/OpenTKGameWindow.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/OpenTKGameWindow.cs')
-rw-r--r--src/OpenTKGameWindow.cs2
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 ();