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 1488beebf122160b3d235f1646be94beec8c0048..5e5b41f77c0b1ad675a61848d4c98077a3ba201c 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 07a5c7d15ec22d23eaa7f161f0f82291dd51414a..18f3c4a657ef6a78490ca265602a757e1dc66bbd 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 );