windisplay: remove unused WHQL stuff

This commit is contained in:
rdb 2018-12-23 16:25:29 +01:00
parent d28e99db82
commit 729a2364bc

View File

@ -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) {