diff options
author | Sven Gothel <[email protected]> | 2015-03-27 02:57:20 +0100 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2015-03-27 02:57:20 +0100 |
commit | 3c7b8a17e907f4ef2afd9f77db566a3f6179cbe4 (patch) | |
tree | df5c8e4665669de2bf1b88af6d93db4599c29d1d /LibOVR/Src/Kernel/OVR_ThreadsWinAPI.cpp | |
parent | 633f70342fe270fd91bca8f724049aceec602337 (diff) |
Bug 1116: Oculus SDK 0.4.4 support for JOGL: Use new 'HEADLESS_APP' mode, i.e. drop all display related code.v2.3.1jogamp_0.4.4
HEADLESS_APP (new CPP define) is required to drop all display related code.
TODO: JOGL needs to display the HSW (Health and Safety Warning) messages
to comply w/ license!
Diffstat (limited to 'LibOVR/Src/Kernel/OVR_ThreadsWinAPI.cpp')
-rw-r--r-- | LibOVR/Src/Kernel/OVR_ThreadsWinAPI.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/LibOVR/Src/Kernel/OVR_ThreadsWinAPI.cpp b/LibOVR/Src/Kernel/OVR_ThreadsWinAPI.cpp index 4146dda..29ef845 100644 --- a/LibOVR/Src/Kernel/OVR_ThreadsWinAPI.cpp +++ b/LibOVR/Src/Kernel/OVR_ThreadsWinAPI.cpp @@ -1103,7 +1103,7 @@ void Thread::SetThreadName(const char* name, ThreadId threadId) void Thread::SetCurrentThreadName( const char* name )
{
- SetThreadName(name, (ThreadId)::GetCurrentThreadId());
+ SetThreadName(name, (ThreadId)(intptr_t)::GetCurrentThreadId()); // should be: typedef intptr_t ThreadId;
}
|