From 0c1dcf906d81f0ceb7d117ef67b51194cdbeeebe Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Wed, 3 Apr 2013 13:45:47 -0600 Subject: st/wgl: make stw_current_context() non-static MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Reviewed-by: José Fonseca --- src/gallium/state_trackers/wgl/stw_context.c | 2 +- src/gallium/state_trackers/wgl/stw_context.h | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/gallium/state_trackers/wgl/stw_context.c b/src/gallium/state_trackers/wgl/stw_context.c index 1488beebf12..5e5b41f77c0 100644 --- a/src/gallium/state_trackers/wgl/stw_context.c +++ b/src/gallium/state_trackers/wgl/stw_context.c @@ -48,7 +48,7 @@ #include "stw_tls.h" -static INLINE struct stw_context * +struct stw_context * stw_current_context(void) { struct st_context_iface *st; diff --git a/src/gallium/state_trackers/wgl/stw_context.h b/src/gallium/state_trackers/wgl/stw_context.h index 07a5c7d15ec..18f3c4a657e 100644 --- a/src/gallium/state_trackers/wgl/stw_context.h +++ b/src/gallium/state_trackers/wgl/stw_context.h @@ -48,6 +48,8 @@ DHGLRC stw_create_context_attribs( HDC hdc, INT iLayerPlane, DHGLRC hShareContex DHGLRC stw_get_current_context( void ); +struct stw_context *stw_current_context(void); + HDC stw_get_current_dc( void ); BOOL stw_make_current( HDC hdc, DHGLRC dhglrc ); -- cgit v1.2.3