Re: [AD] patch for detecting DX8,9 |
[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]
believe or not, but Microsoft is really that stupid :-)see http://msdn.microsoft.com/library/default.asp?url=/library/en-us/directx9_c/directx/directxsdk/reference/directsetup/functions/directxsetupgetversion.asp
Evert Glebbeek wrote:
+ case 0x0001032A: + case 0x00010371: + dx_version = 0x801; /* 8.1 */Is this really correct? Are there two possible return values for DX 8.1? If so, why? Also, why 0x801 rather than 0x810, as you did for the other ones?+ case 0x00010385: + dx_version = 0x81a; /* 8.1a */ + break; + case 0x00010385: + dx_version = 0x81b; /* 8.1b */ + break; + case 0x00020386: + dx_version = 0x820; /* 8.2 */ + break; There's a duplicate value here. What would be the correct values?
-- Regards, Michal
Mail converted by MHonArc 2.6.19+ | http://listengine.tuxfamily.org/ |