WineD3D: Add WINED3DUSAGE_OVERLAY

Stefan Dösinger stefandoesinger at gmx.at
Fri Oct 6 03:45:22 CDT 2006


Hi,
> Should we split lines like this? It's doesn't fit even on my 1600x1200
> display.
I wanted to do a lot of reformating like this, but AJ put a veto before I even 
started :-/

> > diff --git a/include/wine/wined3d_types.h b/include/wine/wined3d_types.h
> > index e70a814..278e7d7 100644
> > --- a/include/wine/wined3d_types.h
> > +++ b/include/wine/wined3d_types.h
> > @@ -1053,6 +1053,7 @@ #define WINED3DUSAGE_DYNAMIC
> >  #define WINED3DUSAGE_AUTOGENMIPMAP                    0x00000400L
> >  #define WINED3DUSAGE_DMAP                             0x00004000L
> >  #define WINED3DUSAGE_MASK                             0x00004FFFL
> > +#define WINED3DUSAGE_OVERLAY                          0x00010000L
>
> I think it would be safer to make it 0x10000000L instead.
Maybe, but this can easilly be changed if we have problems due to new 
definitions in e.g. d3d10. For now we are safe as we filter out flags which 
are invalid in d3d8 / d3d9.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-devel/attachments/20061006/da7c22aa/attachment.pgp


More information about the wine-devel mailing list