Skip to content

Commit

Permalink
#41, #42
Browse files Browse the repository at this point in the history
Fix #41
Fix #42
  • Loading branch information
rcmaehl committed Jun 26, 2021
1 parent f354885 commit bbbe787
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions WhyNotWin11.au3
Original file line number Diff line number Diff line change
Expand Up @@ -326,6 +326,10 @@ Func Main()
; DirectX 12 takes a while. Grab the result once done
Case Not ProcessExists("dxdiag.exe") And FileExists($hDXFile)
Select
Case StringInStr(FileRead($hDXFile), "DDI Version: 12") And StringInStr(FileRead($hDXFile), "Driver Model: WDDM 3")
GUICtrlSetData($hCheck[5][0], "OK")
GUICtrlSetBkColor($hCheck[5][0], 0x4CC355)
GUICtrlSetData($hCheck[5][2], "DirectX 12, WDDM 3")
Case StringInStr(FileRead($hDXFile), "DDI Version: 12") And StringInStr(FileRead($hDXFile), "Driver Model: WDDM 2")
GUICtrlSetData($hCheck[5][0], "OK")
GUICtrlSetBkColor($hCheck[5][0], 0x4CC355)
Expand Down

0 comments on commit bbbe787

Please sign in to comment.