[PATCH 1/6] mfplat: Implement MFCreateDXGIDeviceManager().

Jactry Zeng jzeng at codeweavers.com
Thu Aug 29 01:31:15 CDT 2019


Hi Nikolay,

On 28/8/2019 9:55 pm, Nikolay Sivov wrote:
>> +    dev_mgr->token = MFGetSystemTime();
> This truncates result which is not pretty. Maybe it's enough to have global counter for this?

How about 'object->token = MFGetSystemTime() >> 16;'? Then it will be a lower probabilityto generate duplicate token.

Thanks for the review.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.winehq.org/pipermail/wine-devel/attachments/20190829/1b8bcf5a/attachment.html>


More information about the wine-devel mailing list