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).