diff options
author | José Fonseca <[email protected]> | 2009-05-30 14:33:11 -0700 |
---|---|---|
committer | José Fonseca <[email protected]> | 2009-05-30 20:29:03 -0700 |
commit | 1124f786c1a839036cc1b17f9398eead9f16b1c9 (patch) | |
tree | d7310aec84b52569237b7ce4c54d2d313fccf4eb /src/gallium/state_trackers/wgl | |
parent | 5bb2074798a752557a1eaa8f2d2b8b45282f9f7e (diff) |
wgl: Remove unused field.
Diffstat (limited to 'src/gallium/state_trackers/wgl')
-rw-r--r-- | src/gallium/state_trackers/wgl/shared/stw_context.c | 1 | ||||
-rw-r--r-- | src/gallium/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 dd97e48b144..09dba61603f 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 e276737e85a..92df7e6136b 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; }; |