[7/7] Add ID3D10Device interface and implement it's IUnknown methods

Stefan Dösinger stefandoesinger at gmx.at
Tue Jun 12 17:48:41 CDT 2007


Am Mittwoch, 13. Juni 2007 00:17 schrieb Kovács András:
> [7/7] Add ID3D10Device interface and implement it's IUnknown methods
>+    object->lpVtbl = &D3D10Device_Vtbl;
>+    object->ref = 0;
Spotted by KittyCat on irc. The ref should be 1. Either set it to 1, or call 
ID3D10Device_AddRef(*Device) after setting *Device(ms seems to do it the 
Addref way).



More information about the wine-devel mailing list