r=pedemonte, a=blizzard
OS/2 only - leaking presentation spaces
This commit is contained in:
mkaply%us.ibm.com 2001-08-21 21:53:46 +00:00
Родитель 0fbfbfe4ce
Коммит 47d4c40a42
1 изменённых файлов: 5 добавлений и 0 удалений

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

@ -58,6 +58,8 @@ nsScreenOS2 :: GetRect(PRInt32 *outLeft, PRInt32 *outTop, PRInt32 *outWidth, PRI
*outWidth = alArray[0];
*outHeight = alArray[1];
::WinReleasePS(hps);
return NS_OK;
} // GetRect
@ -98,6 +100,9 @@ nsScreenOS2 :: GetPixelDepth(PRInt32 *aPixelDepth)
*aPixelDepth = (PRInt32)lCap;
::WinReleasePS(hps);
return NS_OK;
} // GetPixelDepth