mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-19 09:30:44 +00:00
Bug 53597 - win32 temporary patch.
This commit is contained in:
parent
20bc48f435
commit
d6f007331c
@ -122,7 +122,12 @@ extern "C" NS_GFX_(void) NS_RGB2HSV(nscolor aColor,PRUint16 &aHue,PRUint16 &aSat
|
||||
extern "C" NS_GFX_(void) NS_HSV2RGB(nscolor &aColor,PRUint16 aHue,PRUint16 aSat,PRUint16 aValue);
|
||||
|
||||
// Gamma correction
|
||||
PR_EXPORT_DATA(PRUint8) nsGammaRamp[256], nsInverseGammaRamp[256];
|
||||
#ifndef NS_WIN32
|
||||
PR_EXPORT_DATA(PRUint8)
|
||||
#else
|
||||
extern PRUint8
|
||||
#endif
|
||||
nsGammaRamp[256], nsInverseGammaRamp[256];
|
||||
|
||||
extern "C" NS_GFX_(double) NS_DisplayGammaValue(void);
|
||||
extern "C" NS_GFX_(void) NS_InitializeGamma(void);
|
||||
|
@ -457,7 +457,12 @@ extern "C" NS_GFX_(nscolor) NS_DarkenColor(nscolor inColor)
|
||||
|
||||
/* Gamma correction stuff */
|
||||
|
||||
PR_IMPLEMENT_DATA(PRUint8) nsGammaRamp[256], nsInverseGammaRamp[256];
|
||||
#ifndef NS_WIN32
|
||||
PR_IMPLEMENT_DATA(PRUint8)
|
||||
#else
|
||||
PRUint8
|
||||
#endif
|
||||
nsGammaRamp[256], nsInverseGammaRamp[256];
|
||||
static double gammaValue = 2.2;
|
||||
|
||||
extern "C" NS_GFX_(double) NS_DisplayGammaValue(void)
|
||||
|
Loading…
x
Reference in New Issue
Block a user