summaryrefslogtreecommitdiff
path: root/vcl/source/opengl/OpenGLHelper.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'vcl/source/opengl/OpenGLHelper.cxx')
-rw-r--r--vcl/source/opengl/OpenGLHelper.cxx3
1 files changed, 0 insertions, 3 deletions
diff --git a/vcl/source/opengl/OpenGLHelper.cxx b/vcl/source/opengl/OpenGLHelper.cxx
index e5514f6c50ba..2a0f72ab7ec3 100644
--- a/vcl/source/opengl/OpenGLHelper.cxx
+++ b/vcl/source/opengl/OpenGLHelper.cxx
@@ -11,7 +11,6 @@
#include <vcl/opengl/OpenGLHelper.hxx>
#include <osl/file.hxx>
-#include <osl/mutex.hxx>
#include <rtl/bootstrap.hxx>
#include <rtl/digest.h>
#include <rtl/strbuf.hxx>
@@ -90,8 +89,6 @@ OString loadShader(const OUString& rFilename)
OString& getShaderSource(const OUString& rFilename)
{
static std::unordered_map<OUString, OString, OUStringHash> aMap;
- static osl::Mutex aMutex;
- osl::MutexGuard aGuard(aMutex);
if (aMap.find(rFilename) == aMap.end())
{