diff options
| author | jpbruyere <jp.bruyere@hotmail.com> | 2016-02-04 19:29:28 +0100 |
|---|---|---|
| committer | jpbruyere <jp.bruyere@hotmail.com> | 2016-02-04 19:29:28 +0100 |
| commit | 488add6f728a66abefb3c8c031ee973401925d49 (patch) | |
| tree | b11d92c55d559dbed3ceb2bc09650f214220f4da /src/OpenTKGameWindow.cs | |
| parent | 7b8929e00f83ea8d5d176605ed7074a58f94cd86 (diff) | |
remove Lock for LayoutingQueue: no used for now
Diffstat (limited to 'src/OpenTKGameWindow.cs')
| -rw-r--r-- | src/OpenTKGameWindow.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/OpenTKGameWindow.cs b/src/OpenTKGameWindow.cs index b5317cef..587dd968 100644 --- a/src/OpenTKGameWindow.cs +++ b/src/OpenTKGameWindow.cs @@ -261,7 +261,7 @@ namespace Crow invGOList = invGOList.Reverse ().ToArray (); //Debug.WriteLine ("======= Layouting queue start ======="); - lock (Interface.LayoutingQueue) { + while (Interface.LayoutingQueue.Count > 0) { // Stopwatch lqiProcTime = new Stopwatch (); // lqiProcTime.Start (); @@ -274,7 +274,7 @@ namespace Crow // updateTime.ElapsedMilliseconds, lqi.ToString()); // } } - } + //Debug.WriteLine ("otd:" + gobjsToRedraw.Count.ToString () + "-"); //final redraw clips should be added only when layout is completed among parents, |