[1/2] ddraw: add dsurface dimension tests, try 11
Henri Verbeet
hverbeet at gmail.com
Wed Jul 2 06:56:27 CDT 2014
On 30 June 2014 17:42, Patrick Rudolph <siro at das-labor.org> wrote:
> Subject: ddraw: add dsurface dimension checks
>
This subject line has some room for improvement.
> + if ((desc->dwWidth > 0xffff) || (desc->dwHeight > 0xffff))
> + {
> + HeapFree(GetProcessHeap(), 0, texture);
> + return DDERR_INVALIDPARAMS;
> + }
Please just merge this with the other surface dimension check a couple
of lines earlier.
More information about the wine-devel
mailing list