10 Feb
2015
10 Feb
'15
3:05 p.m.
On 10 February 2015 at 20:14, Matteo Bruni <mbruni(a)codeweavers.com> wrote:
gl_info->gl_ops.gl.p_glPixelStorei(GL_UNPACK_ROW_LENGTH, src_pitch / format->byte_count); + if (src_pitch & (surface_alignment - 1)) + gl_info->gl_ops.gl.p_glPixelStorei(GL_UNPACK_ALIGNMENT, 1);
What's a bit awkward about this is that if the pitch isn't a multiple of the pixel byte width it's still not going to work. But I guess this is the best we can do.