[2/2] d3dx9: Implement D3DXAssembleShaderFromFile.

Henri Verbeet hverbeet at gmail.com
Wed Jul 28 04:54:44 CDT 2010


On 27 July 2010 23:32, Matteo Bruni <matteo.mystral at 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".



More information about the wine-devel mailing list