include: Remove 'l' modifier from numeric constants in d3d9caps.h

Jacek Caban jacek at codeweavers.com
Wed Oct 26 04:42:13 CDT 2011


Hi Michael,

On 10/26/11 00:30, Michael Stefaniuc wrote:
> ---
>   include/d3d9caps.h |  182 ++++++++++++++++++++++++++--------------------------
>   1 files changed, 91 insertions(+), 91 deletions(-)
>
> diff --git a/include/d3d9caps.h b/include/d3d9caps.h
> index 8ed6598..64dba21 100644
> --- a/include/d3d9caps.h
> +++ b/include/d3d9caps.h
> @@ -29,13 +29,13 @@
>   #define D3DCURSORCAPS_LOWRES  2
>
>
> -#define D3DDEVCAPS2_STREAMOFFSET                        0x00000001L
> -#define D3DDEVCAPS2_DMAPNPATCH                          0x00000002L
> -#define D3DDEVCAPS2_ADAPTIVETESSRTPATCH                 0x00000004L
> -#define D3DDEVCAPS2_ADAPTIVETESSNPATCH                  0x00000008L
> -#define D3DDEVCAPS2_CAN_STRETCHRECT_FROM_TEXTURES       0x00000010L
> -#define D3DDEVCAPS2_PRESAMPLEDDMAPNPATCH                0x00000020L
> -#define D3DDEVCAPS2_VERTEXELEMENTSCANSHARESTREAMOFFSET  0x00000040L
> +#define D3DDEVCAPS2_STREAMOFFSET                        0x00000001
> +#define D3DDEVCAPS2_DMAPNPATCH                          0x00000002
> +#define D3DDEVCAPS2_ADAPTIVETESSRTPATCH                 0x00000004
> +#define D3DDEVCAPS2_ADAPTIVETESSNPATCH                  0x00000008
> +#define D3DDEVCAPS2_CAN_STRETCHRECT_FROM_TEXTURES       0x00000010
> +#define D3DDEVCAPS2_PRESAMPLEDDMAPNPATCH                0x00000020
> +#define D3DDEVCAPS2_VERTEXELEMENTSCANSHARESTREAMOFFSET  0x00000040
>

mingw-w64 project imports some of our headers, including most of d3d 
headers. They would probably prefer to keep them with 'l' modifier since 
that's the right thing to do. Given that it's mostly harmless for Wine, 
could we please consider not changing it?

Thanks,
     Jacek



More information about the wine-devel mailing list