Re: [PATCH] d3dx9_36: Fix typo in ID3DXFileDataImpl_GetName.

2013-05-08 Thread Christian Costa
Le 08/05/2013 19:19, Dmitry Timoshkov a écrit : Christian Costa 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 IDirec

Re: [PATCH] d3dx9_36: Fix typo in ID3DXFileDataImpl_GetName.

2013-05-08 Thread Dmitry Timoshkov
Christian Costa 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.