Mesa (gallium-0.2): stw: remove duplicate function declarations

Keith Whitwell keithw at kemper.freedesktop.org
Mon Feb 2 12:21:36 UTC 2009


Module: Mesa
Branch: gallium-0.2
Commit: 7dbd95618f3e50fe2818d4152527092a96e70474
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=7dbd95618f3e50fe2818d4152527092a96e70474

Author: Keith Whitwell <keith at tungstengraphics.com>
Date:   Wed Jan 28 19:14:57 2009 +0000

stw: remove duplicate function declarations

---

 .../state_trackers/wgl/shared/stw_context.c        |    1 +
 .../state_trackers/wgl/shared/stw_context.h        |   20 --------------------
 2 files changed, 1 insertions(+), 20 deletions(-)

diff --git a/src/gallium/state_trackers/wgl/shared/stw_context.c b/src/gallium/state_trackers/wgl/shared/stw_context.c
index 6c1f353..bf1f0f8 100644
--- a/src/gallium/state_trackers/wgl/shared/stw_context.c
+++ b/src/gallium/state_trackers/wgl/shared/stw_context.c
@@ -37,6 +37,7 @@
 #include "shared/stw_winsys.h"
 #include "shared/stw_framebuffer.h"
 #include "shared/stw_pixelformat.h"
+#include "stw_public.h"
 #include "stw_context.h"
 
 static struct wgl_context *ctx_head = NULL;
diff --git a/src/gallium/state_trackers/wgl/shared/stw_context.h b/src/gallium/state_trackers/wgl/shared/stw_context.h
index 91e71cf..5e84fc2 100644
--- a/src/gallium/state_trackers/wgl/shared/stw_context.h
+++ b/src/gallium/state_trackers/wgl/shared/stw_context.h
@@ -43,26 +43,6 @@ struct wgl_context
 struct wgl_context *
 wgl_context_from_hdc(HDC hdc );
 
-//////////////////
-
-
-BOOL stw_copy_context( HGLRC hglrcSrc,
-                           HGLRC hglrcDst,
-                           UINT mask );
-
-HGLRC stw_create_context( HDC hdc, int iLayerPlane );
-
-BOOL stw_delete_context( HGLRC hglrc );
-
-HGLRC stw_get_current_context( void );
-
-HDC stw_get_current_dc( void );
-
-BOOL stw_make_current( HDC hdc, HGLRC hglrc );
-
-
-
-
 
 
 




More information about the mesa-commit mailing list