Re: [PATCH 3/5] wined3d: Set the surface pitch for user-memory surfaces.
10 Feb
2015
10 Feb
'15
9:05 p.m.
On 10 February 2015 at 20:14, Matteo Bruni <mbruni(a)codeweavers.com> wrote:
+ { surface->resource.size = wined3d_format_calculate_size(texture_resource->format, texture_resource->device->surface_alignment, width, height, 1); + surface->pitch = wined3d_format_calculate_pitch(texture_resource->format, width); + }
A small comment mentioning that user memory surfaces don't have the regular surface alignment probably wouldn't hurt.
3964
Age (days ago)
3964
Last active (days ago)
0 comments
1 participants
participants (1)
-
Henri Verbeet