diff options
author | Brian Paul <[email protected]> | 2013-04-03 13:45:47 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2013-04-04 08:50:16 -0600 |
commit | 0c1dcf906d81f0ceb7d117ef67b51194cdbeeebe (patch) | |
tree | 05358eebd2d05ddcd9c14d3782c339d9242a8aa7 /src | |
parent | 92e5e45ff1147232699be9e517c70146e6ed0291 (diff) |
st/wgl: make stw_current_context() non-static
Reviewed-by: José Fonseca <[email protected]>
Diffstat (limited to 'src')
-rw-r--r-- | src/gallium/state_trackers/wgl/stw_context.c | 2 | ||||
-rw-r--r-- | src/gallium/state_trackers/wgl/stw_context.h | 2 |
2 files changed, 3 insertions, 1 deletions
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 ); |