Added InstallColormap call to ConvertPixel

git-svn-id: svn://10.0.0.236/trunk@9051 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
rods%netscape.com
1998-09-01 22:44:17 +00:00
parent 05aeccd5ca
commit 566557a3f0

View File

@@ -115,6 +115,8 @@ PRUint32 nsDeviceContextUnix :: ConvertPixel(nscolor aColor)
{
PRUint32 newcolor = 0;
InstallColormap();
/*
For now, we assume anything in 12 planes or more is a TrueColor visual.
If it is not (like older IRIS GL graphics boards, we'll look stupid for now.