From 0bbb6f08122ba9d8a58b9cb25667d0a1f899ebd0 Mon Sep 17 00:00:00 2001 From: Zolnai Tamás Date: Fri, 22 Aug 2014 18:31:31 +0200 Subject: Call resetCurrent as soon as possible to avoid conflict with other thread Change-Id: Ie3edc252135301ba5b85b80edcdbe75537d0da16 --- chart2/source/view/charttypes/GL3DBarChart.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'chart2') 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 -- cgit