Mesa (master): wgl: Remove unused member.

Jose Fonseca jrfonseca at kemper.freedesktop.org
Thu Apr 9 13:28:50 PDT 2009


Module: Mesa
Branch: master
Commit: 16c9bb81fd9ab3052f8790e5999d519c0f9bffea
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=16c9bb81fd9ab3052f8790e5999d519c0f9bffea

Author: José Fonseca <jfonseca at vmware.com>
Date:   Thu Apr  9 21:27:43 2009 +0100

wgl: Remove unused member.

---

 .../state_trackers/wgl/shared/stw_framebuffer.c    |    1 -
 .../state_trackers/wgl/shared/stw_framebuffer.h    |    1 -
 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 053f741..fcfd44e 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 245fdc5..ea3bf6f 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;
 };



More information about the mesa-commit mailing list