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:13:59 CST 2008
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 ?
> The check for Reset
> should probably go into wined3d.
>
OK... but a test should check is this is the same behaviour in d3d8. Not
sure...
More information about the wine-devel
mailing list