From 4b4855c717e839a9ee6353604558543473c020c9 Mon Sep 17 00:00:00 2001 From: José Fonseca Date: Wed, 17 Jun 2009 19:24:51 +0100 Subject: 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). --- src/gallium/state_trackers/wgl/shared/stw_tls.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/gallium/state_trackers/wgl/shared/stw_tls.h') 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 */ -- cgit v1.2.3