d3d9 : do not proceed reset or release from another thread than the one which created the device.
Jérôme Gardou
jerome.gardou at gmail.com
Sat Dec 6 06:50:05 CST 2008
Jérôme Gardou a écrit :
> Henri Verbeet a écrit :
>
>> 2008/11/30 Jérôme Gardou <jerome.gardou at gmail.com>:
>>
>>
>>> - if (ref == 0) {
>>> + if (ref <= 0) {
>>>
>>>
>> This doesn't work, of course. ref is an ULONG.
>>
> Why not just a cast in this case ?
>
According to d3d9_private.h , ref is a LONG.
More information about the wine-devel
mailing list