Add comment

c++11
scrawl 10 years ago
parent 4d5c446a44
commit 10f938ff87

@ -195,7 +195,9 @@ public:
META_Object(osgMyGUI, Drawable) META_Object(osgMyGUI, Drawable)
private: private:
// double buffering approach, to avoid the need for synchronization with the draw thread
std::vector<Batch> mBatchVector[2]; std::vector<Batch> mBatchVector[2];
int mWriteTo; int mWriteTo;
mutable int mReadFrom; mutable int mReadFrom;
}; };

Loading…
Cancel
Save