Stefan Dösinger <[EMAIL PROTECTED]> writes:

> +/* Certain applications(Steam) complain if we report an outdated driver 
> version. In general,
> + * reporting a driver version is moot because we are not the Windows driver, 
> and we have different
> + * bugs, features, etc.
> + *
> + * Some drivers(ATI, Nvidia Linux drivers) have a shared codebase with the 
> Windows driver, so we're
> + * reading the Linux driver version and report it to the app. Some 
> drivers(Apple drivers, Mesa) don't
> + * have the version match, so we overwrite the OpenGL driver version with a 
> hardcoded one. Obviously
> + * the hardcoded driver version is outdated once a new Windows driver is 
> released, so we'll have to
> + * keep them in sync manually.
> + *
> + * If a card is not found in this table, the gl driver version is reported
> + */
> +struct driver_version_information {
> +    WORD vendor;                        /* reported PCI card vendor ID       
>         */
> +    WORD card;                          /* reported PCI card device ID       
>         */
> +    BOOL loword_matches_apple;          /* Are Mac and Win driver versions 
> matching? */
> +    BOOL loword_matches_linux;          /* Are Lin and Win driver versions 
> matching? */

The world is not limited to Mac and Linux, this sort of thing can't
scale.

-- 
Alexandre Julliard
[EMAIL PROTECTED]


Reply via email to