Module: Mesa Branch: master Commit: 1124f786c1a839036cc1b17f9398eead9f16b1c9 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=1124f786c1a839036cc1b17f9398eead9f16b1c9
Author: José Fonseca <jfons...@vmware.com> Date: Sat May 30 14:33:11 2009 -0700 wgl: Remove unused field. --- .../state_trackers/wgl/shared/stw_context.c | 1 - .../state_trackers/wgl/shared/stw_context.h | 1 - 2 files changed, 0 insertions(+), 2 deletions(-) diff --git a/src/gallium/state_trackers/wgl/shared/stw_context.c b/src/gallium/state_trackers/wgl/shared/stw_context.c index dd97e48..09dba61 100644 --- a/src/gallium/state_trackers/wgl/shared/stw_context.c +++ b/src/gallium/state_trackers/wgl/shared/stw_context.c @@ -128,7 +128,6 @@ stw_create_layer_context( goto no_ctx; ctx->hdc = hdc; - ctx->color_bits = GetDeviceCaps( ctx->hdc, BITSPIXEL ); /* Create visual based on flags */ diff --git a/src/gallium/state_trackers/wgl/shared/stw_context.h b/src/gallium/state_trackers/wgl/shared/stw_context.h index e276737..92df7e6 100644 --- a/src/gallium/state_trackers/wgl/shared/stw_context.h +++ b/src/gallium/state_trackers/wgl/shared/stw_context.h @@ -38,7 +38,6 @@ struct stw_context struct st_context *st; UINT_PTR hglrc; HDC hdc; - DWORD color_bits; const struct stw_pixelformat_info *pfi; }; _______________________________________________ mesa-commit mailing list mesa-commit@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-commit