[4/5] ddraw: Extend the lifetime of the IDirect3D7::EnumDevices strings beyond function scope.

Stefan Dösinger stefandoesinger at gmx.at
Tue May 31 10:47:04 CDT 2011


Does the enum_device_entry structure have to be in ddraw_private.h? I think you can just declare it in ddraw.c because it is used only there.

At some point we'll want to get rid of the ddraw device type strings and call wined3d_get_adapter_identifier - but that needs more work and some more tests.


Am 31.05.2011 um 12:50 schrieb Andrew Nguyen:

> ---
> dlls/ddraw/ddraw.c         |   43 +++++++++++++------
> dlls/ddraw/ddraw_private.h |    8 ++++
> dlls/ddraw/tests/d3d.c     |   98 ++++++++++++++++++++++++++++++++++++++++++++
> 3 files changed, 136 insertions(+), 13 deletions(-)
> 
> 
> <0004-ddraw-Extend-the-lifetime-of-the-EnumDevices-strings-b.txt>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.winehq.org/pipermail/wine-devel/attachments/20110531/79788057/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 841 bytes
Desc: Signierter Teil der Nachricht
URL: <http://www.winehq.org/pipermail/wine-devel/attachments/20110531/79788057/attachment.pgp>


More information about the wine-devel mailing list