From 7dbd95618f3e50fe2818d4152527092a96e70474 Mon Sep 17 00:00:00 2001 From: Keith Whitwell Date: Wed, 28 Jan 2009 19:14:57 +0000 Subject: [PATCH] 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 insertion(+), 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 6c1f353f962..bf1f0f83c48 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 91e71cf087f..5e84fc28e6f 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 ); - - - - -- 2.30.2