Re: [PATCH] d3dx9_36: Fix typo in ID3DXFileDataImpl_GetName.
8 May
2013
8 May
'13
5:19 p.m.
Christian Costa <titan.costa(a)gmail.com> wrote:
- if (!name || !size) + if (!name && !size) return E_POINTER;
dxfile_size = *size;
So, what happens if name is not NULL, but size is? -- Dmitry.
8 May
8 May
5:54 p.m.
New subject: [PATCH] d3dx9_36: Fix typo in ID3DXFileDataImpl_GetName.
Le 08/05/2013 19:19, Dmitry Timoshkov a écrit :
Christian Costa <titan.costa(a)gmail.com> wrote:
- if (!name || !size) + if (!name && !size) return E_POINTER;
dxfile_size = *size; So, what happens if name is not NULL, but size is?
Indeed I missed this type conversion line and expected IDirectXFile_GetName to handle it. Will send another patch. Thanks!
4600
Age (days ago)
4600
Last active (days ago)
1 comments
2 participants
participants (2)
-
Christian Costa -
Dmitry Timoshkov