d3d: avoid implicit conversion warnings from identical enumeration types D3DPOOL and WINED3DPOOL (Clang)

Stefan Dösinger stefandoesinger at gmx.at
Mon May 16 01:53:16 CDT 2011


On Friday 13 May 2011 15:03:35 Frédéric Delanoy wrote:
> Adding d3dpool_from_wined3dpool and wined3dpool_from_d3dpool conversion
> functions instead of direct casts seems overkill for such straightforward
> conversions.
I'm not quite sure about that patch. I sent a bunch of patches to add float<-
>integer casts myself to silence some msvc warnings. WINED3DPOOL in the way it 
currently is will go away sooner or later when we transition to a d3d10-style 
resource model. Still the problem will remain with other structures and types.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
URL: <http://www.winehq.org/pipermail/wine-devel/attachments/20110516/5df97366/attachment.pgp>


More information about the wine-devel mailing list