2 Jul
2014
2 Jul
'14
11:56 a.m.
On 30 June 2014 17:42, Patrick Rudolph <siro(a)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.