summaryrefslogtreecommitdiff
path: root/wrappers/gltrace_state.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'wrappers/gltrace_state.cpp')
-rw-r--r--wrappers/gltrace_state.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/wrappers/gltrace_state.cpp b/wrappers/gltrace_state.cpp
index 8848d21c..85fadfe3 100644
--- a/wrappers/gltrace_state.cpp
+++ b/wrappers/gltrace_state.cpp
@@ -54,7 +54,7 @@ public:
}
};
-static OS_THREAD_SPECIFIC_PTR(ThreadState) thread_state;
+static OS_THREAD_LOCAL ThreadState *thread_state;
static ThreadState *get_ts(void)
{