d3d8: Attempting to set a NULL rt is legal in d3d8

Henri Verbeet hverbeet at gmail.com
Fri Apr 22 07:35:46 CDT 2011

On 22 April 2011 14:25, "Stefan Dösinger" <stefandoesinger at gmx.at> wrote:
> An unrelated issue I am ignoring for now:
> void * __cdecl wined3d_buffer_get_parent(const struct wined3d_buffer *buffer);
> in the .idl file is compiled by Microsoft's midl to
> void *__cdecl wined3d_buffer_get_parent(
>    struct wined3d_buffer *buffer);
> ie, the const is lost, leading to complaints from msvc that the implementation function doesn't match the declaration. Any idea how to fix it?
Odd. But I think we can ignore it unless there's an easy fix, the IDL
file should go away anyway once COM is gone from wined3d. Though maybe
widl should match that behaviour.

More information about the wine-devel mailing list