Windows Port:

- Fix bug where using the 5xBRZ filter through the DirectDraw HW/SW display method would cause a crash. (Fixes bug #1444.)
This commit is contained in:
rogerman 2015-03-15 22:40:29 +00:00
parent 0ac489ade1
commit 5bab1a14f3
1 changed files with 2 additions and 2 deletions

View File

@ -7309,8 +7309,8 @@ bool DDRAW::createSurfaces(HWND hwnd)
else
surfDescBack.ddsCaps.dwCaps |= DDSCAPS_VIDEOMEMORY;
surfDescBack.dwWidth = 384 * 4;
surfDescBack.dwHeight = 384 * 4;
surfDescBack.dwWidth = 384 * 5;
surfDescBack.dwHeight = 384 * 5;
if (FAILED(handle->CreateSurface(&surfDescBack, &surface.back, NULL))) return false;
if (FAILED(handle->CreateClipper(0, &clip, NULL))) return false;