6 Dec
2008
6 Dec
'08
12:50 p.m.
Jérôme Gardou a écrit :
Henri Verbeet a écrit :
2008/11/30 Jérôme Gardou <jerome.gardou(a)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.