28 Jul
2010
28 Jul
'10
10:54 a.m.
On 27 July 2010 23:32, Matteo Bruni <matteo.mystral(a)gmail.com> wrote:
+ if(parent_data != NULL) + parent_name = *((char **)parent_data - 1); That casts away const. The ID3DXInclude interface itself looks somewhat broken to me, but I don't think you need to modify the parent name here. Please use "const char *" and "const void *" or "LPCSTR" and "LPCVOID".