Module: wine Branch: master Commit: ac70dd2c9765b7493b95e4325eb63cfe8d3248c8 URL: http://source.winehq.org/git/wine.git/?a=commit;h=ac70dd2c9765b7493b95e4325e...
Author: Henri Verbeet hverbeet@codeweavers.com Date: Wed Apr 23 14:35:20 2014 +0200
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 | 3 ++- dlls/ddraw/tests/ddraw1.c | 10 +++++----- dlls/ddraw/tests/ddraw2.c | 10 +++++----- dlls/ddraw/tests/ddraw4.c | 20 +++++++++++--------- dlls/ddraw/tests/ddraw7.c | 20 +++++++++++--------- dlls/wined3d/directx.c | 15 +++++++++++++++ dlls/wined3d/wined3d.spec | 1 + include/wine/wined3d.h | 2 ++ 8 files changed, 52 insertions(+), 29 deletions(-)
Diff: http://source.winehq.org/git/wine.git/?a=commitdiff;h=ac70dd2c9765b7493b95e4...