зеркало из https://github.com/mozilla/gecko-dev.git
Родитель
a3444008f5
Коммит
edcc49b723
|
@ -88,7 +88,7 @@ nsScreenOS2 :: GetPixelDepth(PRInt32 *aPixelDepth)
|
|||
HPS hps = ::WinGetScreenPS( HWND_DESKTOP);
|
||||
HDC hdc = GFX (::GpiQueryDevice (hps), HDC_ERROR);
|
||||
|
||||
::DevQueryCaps(hdc, CAPS_COLOR_BITCOUNT, 1, &lCap);
|
||||
GFX (::DevQueryCaps(hdc, CAPS_COLOR_BITCOUNT, 1, &lCap), FALSE);
|
||||
|
||||
*aPixelDepth = (PRInt32)lCap;
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче