diff options
author | Zolnai Tamás <tamas.zolnai@collabora.com> | 2014-08-22 18:31:31 +0200 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@collabora.co.uk> | 2014-08-29 17:40:32 +0200 |
commit | 0bbb6f08122ba9d8a58b9cb25667d0a1f899ebd0 (patch) | |
tree | 1f09ac7876d033d1a11c9226ef03c961760f3801 /chart2 | |
parent | 8e37097d52e8a52ee4a9ea7c87d9fac4b3feef8b (diff) |
Call resetCurrent as soon as possible to avoid conflict with other thread
Change-Id: Ie3edc252135301ba5b85b80edcdbe75537d0da16
Diffstat (limited to 'chart2')
-rw-r--r-- | chart2/source/view/charttypes/GL3DBarChart.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chart2/source/view/charttypes/GL3DBarChart.cxx b/chart2/source/view/charttypes/GL3DBarChart.cxx index ed5cb2f3f091..e540dbd51d18 100644 --- a/chart2/source/view/charttypes/GL3DBarChart.cxx +++ b/chart2/source/view/charttypes/GL3DBarChart.cxx @@ -122,7 +122,7 @@ void RenderThread::renderFrame() mpChart->mpRenderer->ProcessUnrenderedShape(mpChart->mbNeedsNewRender); mpChart->mbNeedsNewRender = false; mpChart->mpWindow->getContext().swapBuffers(); - + mpChart->mpWindow->getContext().resetCurrent(); } class RenderOneFrameThread : public RenderThread |