Browse Source

windisplay: remove unused WHQL stuff

rdb 7 years ago
parent
commit
729a2364bc
1 changed files with 0 additions and 20 deletions
  1. 0 20
      panda/src/windisplay/winDetectDx.h

+ 0 - 20
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) {