st/wgl: make stw_current_context() non-static
authorBrian Paul <brianp@vmware.com>
Wed, 3 Apr 2013 19:45:47 +0000 (13:45 -0600)
committerBrian Paul <brianp@vmware.com>
Thu, 4 Apr 2013 14:50:16 +0000 (08:50 -0600)
Reviewed-by: José Fonseca <jfonseca@vmware.com>
src/gallium/state_trackers/wgl/stw_context.c
src/gallium/state_trackers/wgl/stw_context.h

index 1488bee..5e5b41f 100644 (file)
@@ -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;
index 07a5c7d..18f3c4a 100644 (file)
@@ -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 );