Kaydet (Commit) 3a4f5b47 authored tarafından Kohei Yoshida's avatar Kohei Yoshida

This guard blocks main loop.

And I've been told that by design the main thread doesn't need to be
aware of the rendering threads, so no need to take mutex here.

Change-Id: I78ec348ccc28dd67284ecdfccebb915cc1942fa8
üst eae5d8de
......@@ -1176,7 +1176,6 @@ int GL3DBarChart::calcTimeInterval(TimeValue &startTime, TimeValue &endTime)
void GL3DBarChart::updateScreenText()
{
SharedResourceAccess(maCond1, maCond2);
osl::MutexGuard aGuard(maMutex);
maScreenTextShapes.clear();
mpRenderer->ReleaseScreenTextShapes();
updateRenderFPS();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment