24 bit color fix

git-svn-id: svn://10.0.0.236/trunk@3604 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
rods
1998-06-10 18:18:35 +00:00
parent 6cb3b0c91d
commit 631240da82

View File

@@ -244,7 +244,7 @@ PRUint32 nsDeviceContextUnix :: ConvertPixel(nscolor aColor)
}
if (mDepth == 24) {
newcolor = aColor;
newcolor = aColor & 0x00ffffff;
}
return (newcolor);