summaryrefslogtreecommitdiffstats
path: root/src/mesa
diff options
context:
space:
mode:
authorJosé Fonseca <[email protected]>2011-04-23 18:44:19 +0100
committerJosé Fonseca <[email protected]>2011-04-23 18:44:19 +0100
commit5bd545f5aa4f15914d3e17d7a092fad9f6d3b207 (patch)
tree1b1a3beb36764463eb3ced2fa4a5af5f8222f6ad /src/mesa
parent336487450e6b6cec364fbf1e01dfcb87a23b9696 (diff)
mesa/gdi: Remove InitCritSections.cpp.
We are now able to declare global critical sections through other mechanisms so this is useless code.
Diffstat (limited to 'src/mesa')
-rw-r--r--src/mesa/drivers/windows/gdi/InitCritSections.cpp33
1 files changed, 0 insertions, 33 deletions
diff --git a/src/mesa/drivers/windows/gdi/InitCritSections.cpp b/src/mesa/drivers/windows/gdi/InitCritSections.cpp
deleted file mode 100644
index 69f03b8e47c..00000000000
--- a/src/mesa/drivers/windows/gdi/InitCritSections.cpp
+++ /dev/null
@@ -1,33 +0,0 @@
-#include "glapi.h"
-#include "glThread.h"
-
-#ifdef WIN32
-
-extern "C" _glthread_Mutex OneTimeLock;
-extern "C" _glthread_Mutex GenTexturesLock;
-
-extern "C" void FreeAllTSD(void);
-
-class _CriticalSectionInit
-{
-public:
- static _CriticalSectionInit m_inst;
-
- _CriticalSectionInit()
- {
- _glthread_INIT_MUTEX(OneTimeLock);
- _glthread_INIT_MUTEX(GenTexturesLock);
- }
-
- ~_CriticalSectionInit()
- {
- _glthread_DESTROY_MUTEX(OneTimeLock);
- _glthread_DESTROY_MUTEX(GenTexturesLock);
- FreeAllTSD();
- }
-};
-
-_CriticalSectionInit _CriticalSectionInit::m_inst;
-
-
-#endif /* WIN32 */