From: Brian Paul Date: Wed, 3 Apr 2013 19:45:47 +0000 (-0600) Subject: st/wgl: make stw_current_context() non-static X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=0c1dcf906d81f0ceb7d117ef67b51194cdbeeebe;p=mesa.git st/wgl: make stw_current_context() non-static Reviewed-by: José Fonseca --- 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 );