Re: [PATCH 1/2] ddraw/tests: Add some IDirect3DViewport interface tests (try 2)
2 Feb
2012
2 Feb
'12
8:02 a.m.
On 2 February 2012 14:57, Stefan Dösinger <stefan(a)codeweavers.com> wrote:
+static ULONG get_refcount(IUnknown *test_iface) +{ + IUnknown_AddRef(test_iface); + return IUnknown_Release(test_iface); +} ... + LONG ref; ... + ref = get_refcount((IUnknown *)d3d); + ok(ref == 2, "IDirect3D refcount is %d\n", ref); Well yeah, get_refcount() returns ULONG now, but you should fix the type of "ref" and the format strings as well.
2 Feb
2 Feb
9:24 a.m.
New subject: [PATCH 1/2] ddraw/tests: Add some IDirect3DViewport interface tests (try 2)
Am Donnerstag, 2. Februar 2012, 15:02:27 schrieb Henri Verbeet:
Well yeah, get_refcount() returns ULONG now, but you should fix the type of "ref" and the format strings as well. Argh, today is not my day...
5061
Age (days ago)
5061
Last active (days ago)
1 comments
2 participants
participants (2)
-
Henri Verbeet -
Stefan Dösinger