ddraw: Return a nullpointer as lpSurface in Lock() if the rect is invalid.
commitdf5116cc7da2dbd26abf58b3442bdd889595d8f0
authorGünther Brammer <GBrammer@gmx.de>
Mon, 25 Feb 2008 15:22:41 +0000 (25 16:22 +0100)
committerAlexandre Julliard <julliard@winehq.org>
Mon, 25 Feb 2008 18:50:30 +0000 (25 19:50 +0100)
tree5cbf2abf4a3ab12af9b45d57780286e547488892
parentd6a8b5024a2bd04e8762b56e39675d3b2cfe7747
ddraw: Return a nullpointer as lpSurface in Lock() if the rect is invalid.
dlls/ddraw/surface.c
dlls/ddraw/tests/dsurface.c