diff options
author | José Fonseca <jfonseca@vmware.com> | 2009-06-17 19:24:51 +0100 |
---|---|---|
committer | José Fonseca <jfonseca@vmware.com> | 2009-06-18 14:54:07 +0100 |
commit | 4b4855c717e839a9ee6353604558543473c020c9 (patch) | |
tree | 29bf8c621b9947e74a7ba9c4e6d07f35f9e531b5 /src/gallium/state_trackers/wgl/shared/stw_tls.h | |
parent | 1b05b5b4fecd9ac8ef34abdda6c085868016ad84 (diff) |
wgl: Move all thread related code together.
Not only for cosmetic reasons, but also because we need to set the
SetWindowsHookEx hook for threads created before the DllMain is called
(threads for each we don't get the DLL_THREAD_ATTACH notification).
Diffstat (limited to 'src/gallium/state_trackers/wgl/shared/stw_tls.h')
-rw-r--r-- | src/gallium/state_trackers/wgl/shared/stw_tls.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/gallium/state_trackers/wgl/shared/stw_tls.h b/src/gallium/state_trackers/wgl/shared/stw_tls.h index 6af8be70c9..fbf8b1cbee 100644 --- a/src/gallium/state_trackers/wgl/shared/stw_tls.h +++ b/src/gallium/state_trackers/wgl/shared/stw_tls.h @@ -50,4 +50,10 @@ stw_tls_cleanup(void); struct stw_tls_data * stw_tls_get_data(void); +LRESULT CALLBACK +stw_call_window_proc( + int nCode, + WPARAM wParam, + LPARAM lParam ); + #endif /* STW_TLS_H */ |