From 10f938ff8763960afb873c283c57afd829690ede Mon Sep 17 00:00:00 2001 From: scrawl Date: Wed, 3 Jun 2015 01:18:03 +0200 Subject: [PATCH] Add comment --- components/myguiplatform/myguirendermanager.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/components/myguiplatform/myguirendermanager.cpp b/components/myguiplatform/myguirendermanager.cpp index e2f2f9820..bf1d66fe8 100644 --- a/components/myguiplatform/myguirendermanager.cpp +++ b/components/myguiplatform/myguirendermanager.cpp @@ -195,7 +195,9 @@ public: META_Object(osgMyGUI, Drawable) private: + // double buffering approach, to avoid the need for synchronization with the draw thread std::vector mBatchVector[2]; + int mWriteTo; mutable int mReadFrom; };