Jérôme Gardou a écrit :
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 ?
According to d3d9_private.h , ref is a LONG.