24 bit color fix
git-svn-id: svn://10.0.0.236/trunk@3604 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -244,7 +244,7 @@ PRUint32 nsDeviceContextUnix :: ConvertPixel(nscolor aColor)
|
||||
}
|
||||
|
||||
if (mDepth == 24) {
|
||||
newcolor = aColor;
|
||||
newcolor = aColor & 0x00ffffff;
|
||||
}
|
||||
|
||||
return (newcolor);
|
||||
|
||||
Reference in New Issue
Block a user