Partial fix for #3412 "GWorld allocations should be smarter": the offscreen world is now allocated with 'useTempMem'.

This commit is contained in:
pierre%netscape.com 1999-09-11 01:15:57 +00:00
Родитель 1d66d27e7a
Коммит d4ecac9123
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -234,7 +234,7 @@ GrafPtr savePort;
}
// create offscreen
QDErr osErr = ::NewGWorld(&offscreenGWorld, depth, &macRect, nil, nil, 0);
QDErr osErr = ::NewGWorld(&offscreenGWorld, depth, &macRect, nil, nil, useTempMem);
if (osErr != noErr)
return NS_ERROR_FAILURE;