[v3 signed 4/6] wined3d: introduce a new wined3d_rendertarget_view_create_from_sub_resource function
rikyz619 at gmail.com
Tue Oct 27 10:16:53 CDT 2015
OK, I'll fix this
2015-10-27 15:40 GMT+01:00 Henri Verbeet <hverbeet at gmail.com>:
> On 22 October 2015 at 12:01, Riccardo Bortolato <rikyz619 at gmail.com> wrote:
>> +HRESULT __cdecl wined3d_rendertarget_view_create_from_sub_resource(struct wined3d_texture *texture,
> Just use CDECL here. include/wine/wined3d.h should actually use CDECL
> as well, but currently uses __cdecl for historic reasons.
>> + sub_resource = wined3d_texture_get_sub_resource(texture, sub_resource_idx);
>> + surface = surface_from_resource(sub_resource);
> You can't assume the sub-resource is a surface here.
More information about the wine-devel