Bug 53597 - another attempt to fix win32.
git-svn-id: svn://10.0.0.236/trunk@118933 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -122,12 +122,7 @@ 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
|
||||
#ifndef NS_WIN32
|
||||
PR_EXPORT_DATA(PRUint8)
|
||||
#else
|
||||
extern PRUint8
|
||||
#endif
|
||||
nsGammaRamp[256], nsInverseGammaRamp[256];
|
||||
PR_IMPORT_DATA(PRUint8) nsGammaRamp[256], nsInverseGammaRamp[256];
|
||||
|
||||
extern "C" NS_GFX_(double) NS_DisplayGammaValue(void);
|
||||
extern "C" NS_GFX_(void) NS_InitializeGamma(void);
|
||||
|
||||
@@ -457,12 +457,7 @@ extern "C" NS_GFX_(nscolor) NS_DarkenColor(nscolor inColor)
|
||||
|
||||
/* Gamma correction stuff */
|
||||
|
||||
#ifndef NS_WIN32
|
||||
PR_IMPLEMENT_DATA(PRUint8)
|
||||
#else
|
||||
PRUint8
|
||||
#endif
|
||||
nsGammaRamp[256], nsInverseGammaRamp[256];
|
||||
PR_IMPLEMENT_DATA(PRUint8) nsGammaRamp[256], nsInverseGammaRamp[256];
|
||||
static double gammaValue = 2.2;
|
||||
|
||||
extern "C" NS_GFX_(double) NS_DisplayGammaValue(void)
|
||||
|
||||
Reference in New Issue
Block a user