diff options
author | Patrick Luby <pluby@openoffice.org> | 2001-01-05 17:04:34 +0000 |
---|---|---|
committer | Patrick Luby <pluby@openoffice.org> | 2001-01-05 17:04:34 +0000 |
commit | 53bab2d534d0f8081dddd84009ff434673c3d3cf (patch) | |
tree | 938decb91c94cd3873a5da08b88bcc3e8716ac2a /vcl/aqua/source | |
parent | 6d01049d1c65fbdaa9b64472ad966a0d1fe75351 (diff) |
Rolled back changes in version 1.21 as SalBitmap needs to handle GWorld's with varying bit counts
Diffstat (limited to 'vcl/aqua/source')
-rw-r--r-- | vcl/aqua/source/app/salinst.cxx | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/vcl/aqua/source/app/salinst.cxx b/vcl/aqua/source/app/salinst.cxx index f5425fda6838..6359ca7bef1b 100644 --- a/vcl/aqua/source/app/salinst.cxx +++ b/vcl/aqua/source/app/salinst.cxx @@ -2,9 +2,9 @@ * * $RCSfile: salinst.cxx,v $ * - * $Revision: 1.21 $ + * $Revision: 1.22 $ * - * last change: $Author: pluby $ $Date: 2001-01-04 22:11:21 $ + * last change: $Author: pluby $ $Date: 2001-01-05 18:04:34 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -330,11 +330,8 @@ SalVirtualDevice* SalInstance::CreateVirtualDevice( SalGraphics* pGraphics, { SalVirtualDevice *pVirDev = new SalVirtualDevice; - // Cache values for when SalVirtualDevice::GetGraphics() is invoked. - // Note that we force the GWorld to a 32 bit pixel depth so that the - // QuickDraw routines can smooth out images when copying the GWorld's - // pixels to a window. - pVirDev->maVirDevData.mnBitCount = 32; + // Cache values for when SalVirtualDevice::GetGraphics() is invoked + pVirDev->maVirDevData.mnBitCount = nBitCount; pVirDev->maVirDevData.mnWidth = nDX; pVirDev->maVirDevData.mnHeight = nDY; |