ddraw: Validate the pitch for user memory surfaces against the unaligned minimum...
commitac70dd2c9765b7493b95e4325eb63cfe8d3248c8
authorHenri Verbeet <hverbeet@codeweavers.com>
Wed, 23 Apr 2014 12:35:20 +0000 (23 14:35 +0200)
committerAlexandre Julliard <julliard@winehq.org>
Wed, 23 Apr 2014 13:00:35 +0000 (23 15:00 +0200)
tree48a07ea967c03d821efa599bc25e2bff5b7a242a
parent81fb749ecf5a4d009d26df2609f3d62e4525d7f0
ddraw: Validate the pitch for user memory surfaces against the unaligned minimum pitch.

User memory surfaces have a different minimum alignment from regular surfaces.
This fixes a regression introduced by commit
9c138d772c692d44103a6641c32f3b74dc83303e.
dlls/ddraw/surface.c
dlls/ddraw/tests/ddraw1.c
dlls/ddraw/tests/ddraw2.c
dlls/ddraw/tests/ddraw4.c
dlls/ddraw/tests/ddraw7.c
dlls/wined3d/directx.c
dlls/wined3d/wined3d.spec
include/wine/wined3d.h