diff --git a/panda/src/windisplay/winDetectDx.h b/panda/src/windisplay/winDetectDx.h index df7d89f0ff..4b979de6f0 100644 --- a/panda/src/windisplay/winDetectDx.h +++ b/panda/src/windisplay/winDetectDx.h @@ -21,18 +21,6 @@ typedef struct { } DISPLAY_FORMAT; -typedef union -{ - struct - { - unsigned int day : 8; - unsigned int month : 8; - unsigned int year : 16; - }; - DWORD whql; -} -WHQL; - static DISPLAY_FORMAT display_format_array [ ] = { D3DFMT_X8R8G8B8, 32, FALSE, D3DFMT_R5G6B5, 16, FALSE, @@ -321,14 +309,6 @@ static int get_display_information (DisplaySearchParameters &display_search_para if (debug) { printf ("DRIVER VERSION: %d.%d.%d.%d \n", product, version, sub_version, build); } - - WHQL whql; - - whql.whql= d3d_adapter_identifier.WHQLLevel; - - if (debug) { - printf ("WHQL: %d %d %d \n", whql.day, whql.day, whql.year); - } } if (direct_3d -> GetDeviceCaps (adapter, device_type, &d3d_caps) == D3D_OK) {