зеркало из https://github.com/mozilla/pjs.git
Bug 53597 - win32 temporary patch.
This commit is contained in:
Родитель
336a559ee8
Коммит
14ac5de934
|
@ -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)
|
||||
|
|
Загрузка…
Ссылка в новой задаче