Re: [2/2] d3dx9: Implement D3DXAssembleShaderFromFile.
28 Jul
2010
28 Jul
'10
9: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".
5619
Age (days ago)
5619
Last active (days ago)
0 comments
1 participants
participants (1)
-
Henri Verbeet