mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-29 15:52:07 +00:00
Make gamma 1.0
This commit is contained in:
parent
9485365e34
commit
a9c5ff5a3f
@ -441,7 +441,8 @@ nsWebShell::Init(nsNativeWidget aNativeParent,
|
||||
mDeviceContext->Init(aNativeParent);
|
||||
mDeviceContext->SetDevUnitsToAppUnits(mDeviceContext->GetDevUnitsToTwips());
|
||||
mDeviceContext->SetAppUnitsToDevUnits(mDeviceContext->GetTwipsToDevUnits());
|
||||
mDeviceContext->SetGamma(1.7f);
|
||||
// mDeviceContext->SetGamma(1.7f);
|
||||
mDeviceContext->SetGamma(1.0f);
|
||||
|
||||
// Create a Native window for the shell container...
|
||||
rv = NSRepository::CreateInstance(kChildCID,
|
||||
|
@ -441,7 +441,8 @@ nsWebShell::Init(nsNativeWidget aNativeParent,
|
||||
mDeviceContext->Init(aNativeParent);
|
||||
mDeviceContext->SetDevUnitsToAppUnits(mDeviceContext->GetDevUnitsToTwips());
|
||||
mDeviceContext->SetAppUnitsToDevUnits(mDeviceContext->GetTwipsToDevUnits());
|
||||
mDeviceContext->SetGamma(1.7f);
|
||||
// mDeviceContext->SetGamma(1.7f);
|
||||
mDeviceContext->SetGamma(1.0f);
|
||||
|
||||
// Create a Native window for the shell container...
|
||||
rv = NSRepository::CreateInstance(kChildCID,
|
||||
|
Loading…
Reference in New Issue
Block a user