Henri Verbeet a écrit :
2008/11/30 Jérôme Gardou jerome.gardou@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...