[PATCH] include: Fix broken defines in d3d9 headers
Rafal Harabień
rafalh92 at outlook.com
Thu Dec 10 16:28:49 CST 2020
I sent v2 for this patch which should address your concerns.
On 10.12.2020 19:04, Henri Verbeet wrote:
> On Wed, 9 Dec 2020 at 02:54, Rafał Harabień <rafalh92 at outlook.com> wrote:
>> * rename D3DENUM_NO_WHQL_LEVEL to D3DENUM_WHQL_LEVEL
>> * remove D3DCAPS2_NO2DDURING3DSCENE
>> * remove D3DCAPS2_CANRENDERWINDOWED
>>
> This kind of commit message typically indicates you're doing multiple
> separate things in a single patch, and the patch should be split.
>
>> diff --git a/include/d3d9.h b/include/d3d9.h
>> index 3ebde4509af..d61461f0833 100644
>> --- a/include/d3d9.h
>> +++ b/include/d3d9.h
>> @@ -61,7 +61,7 @@
>> */
>> #define D3D_SDK_VERSION 32
>> #define D3DADAPTER_DEFAULT 0
>> -#define D3DENUM_NO_WHQL_LEVEL __MSABI_LONG(0x00000002)
>> +#define D3DENUM_WHQL_LEVEL __MSABI_LONG(0x00000002)
> Ok, but in that case the interpretation of the flag is probably wrong
> too; this currently maps to WINED3DENUM_NO_WHQL_LEVEL.
More information about the wine-devel
mailing list