d3d9: Add reference to the parent device for surfaces.
authorVitaliy Margolen <wine-patch@kievinfo.com>
Mon, 29 May 2006 21:01:04 +0000 (15:01 -0600)
committerAlexandre Julliard <julliard@winehq.org>
Tue, 30 May 2006 10:34:22 +0000 (12:34 +0200)
commit19d19b2b7955d6e7f6250f5c7e0de7ad0e918846
treee7e0fa0aa9874cac25923e6d936cd735f81a5554
parent115525f3c471634c0cf9111b0f33f78f21f84490
d3d9: Add reference to the parent device for surfaces.

Allow some objects to have no parent device.
Tighten refcount tests and test refound decrement on Release.
dlls/d3d9/d3d9_private.h
dlls/d3d9/device.c
dlls/d3d9/directx.c
dlls/d3d9/surface.c
dlls/d3d9/swapchain.c
dlls/d3d9/tests/device.c