Quote:
Originally Posted by Smurf Stomper
Altef, one question: I'm using the code from your 'link ver. 2' in your post, and noticed how your listed out all the different directX versions (except for 11.1) that are out so far.
If a new version of directX is released in the future, say v12.0, and future gpus are at that version, will this code still work? It seems the code looks at specific directX versions, not doing a general GPU ability check, like this pseudocode idea:
Obviously this is just my idea - I like the idea of having a check after each line in the [icons] section - I'm just giving you an idea in case the code you graciously wrote up won't work for future directX versions.
Let me know.. thanks for your help!
|
this code will work, all what you need it's add new check like this
Code:
function DX12:boolean;
begin
Case GetDXV of
'9': Result:=False;
'9.0c': Result:=False;
'10': Result:=False;
'10.1': Result:=False;
'11': Result:=False;
'11.1': Result:=False;
'11.2': Result:=False;
'12': Result:=True;
else
Result:=False;
end;
end;