summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJosé Fonseca <[email protected]>2009-04-09 21:27:43 +0100
committerJosé Fonseca <[email protected]>2009-04-09 21:27:43 +0100
commit16c9bb81fd9ab3052f8790e5999d519c0f9bffea (patch)
treeb453f88d7af49b9e90255bb031240e0a954b2c45
parent0da3a13d6a9314cc1e8616a13f28db0afc0735f6 (diff)
wgl: Remove unused member.
-rw-r--r--src/gallium/state_trackers/wgl/shared/stw_framebuffer.c1
-rw-r--r--src/gallium/state_trackers/wgl/shared/stw_framebuffer.h1
2 files changed, 0 insertions, 2 deletions
diff --git a/src/gallium/state_trackers/wgl/shared/stw_framebuffer.c b/src/gallium/state_trackers/wgl/shared/stw_framebuffer.c
index 053f741e7b6..fcfd44e3991 100644
--- a/src/gallium/state_trackers/wgl/shared/stw_framebuffer.c
+++ b/src/gallium/state_trackers/wgl/shared/stw_framebuffer.c
@@ -206,7 +206,6 @@ stw_framebuffer_create(
height,
(void *) fb );
- fb->cColorBits = GetDeviceCaps( hdc, BITSPIXEL );
fb->hDC = hdc;
fb->hWnd = WindowFromDC( hdc );
diff --git a/src/gallium/state_trackers/wgl/shared/stw_framebuffer.h b/src/gallium/state_trackers/wgl/shared/stw_framebuffer.h
index 245fdc5fc9e..ea3bf6f8fc7 100644
--- a/src/gallium/state_trackers/wgl/shared/stw_framebuffer.h
+++ b/src/gallium/state_trackers/wgl/shared/stw_framebuffer.h
@@ -37,7 +37,6 @@ struct stw_framebuffer
{
struct st_framebuffer *stfb;
HDC hDC;
- BYTE cColorBits;
HWND hWnd;
struct stw_framebuffer *next;
};