[PATCH 2/2] draw: Return the D3D identifier when GetDeviceIdentifier is called with no flags (try 2).

Erich E. Hoover erich.e.hoover at gmail.com
Tue Feb 11 10:26:44 CST 2014


GetDeviceIdentifier should only return the 2D identifier when called
with DDGDI_GETHOSTIDENTIFIER.  On a normal (old) system this routine
returns the 3D accelerator's identifier if it is called with no flags.
 It's worth noting that on newer systems it returns the 3D accelerator
_even when called with DDGDI_GETHOSTIDENTIFIER_.  However, for
backward compatibility it is unlikely that we want to do this.

This version of the patch has been updated with several suggestions
from Henri Verbeet.  Of particular interest is that the string
clearing now occurs in wined3d, allowing the DDDI string buffer to be
used directly instead of requiring a temporary buffer.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-ddraw-Return-the-D3D-identifier-when-GetDeviceIdenti.patch
Type: text/x-diff
Size: 5731 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20140211/41134267/attachment.patch>


More information about the wine-patches mailing list