Re: [1/3] d3dx9/line: Added device pointer to ID3DXLineImpl and initialize it.
16 Jun
2011
16 Jun
'11
1:11 p.m.
2011/6/16 Charles Welton <charleswfb(a)gmail.com>:
@@ -27,6 +27,8 @@ static const struct ID3DXLineVtbl ID3DXLine_Vtbl; typedef struct ID3DXLineImpl { ID3DXLine ID3DXLine_iface; LONG ref; + + IDirect3DDevice9 * device; } ID3DXLineImpl;
You also have to Release() the device in ID3DXLineImpl_Release when ref reaches 0. Additional style nitpick, there should be no space between '*' and the field name.
5297
Age (days ago)
5297
Last active (days ago)
0 comments
1 participants
participants (1)
-
Matteo Bruni