On Tuesday, July 20, 2010 2:28:44 pm Louis Lenders wrote:
> +    TRACE("iface %p, adapter %u, mode %p.\n", iface, adapter, mode);
> +    TRACE("iface %p, adapter %u, mode %p, rotation %p\n", iface, adapter,
> mode, rotation);

This doesn't look right. You probably only need the second TRACE statement, 
there.

It also looks like adapterinfo is being leaked. Any reason you HeapAlloc one 
to pass in, instead of passing a pointer to a stack object? Eg:

struct wined3d_adapter_info_ex adapterinfo;
...
hr = IWineD3D_GetAdapterDisplayMode(This->WineD3D, adapter, &m, &adapterinfo);


Reply via email to