diff Viewport.cpp @ 951:840b78f6c2d3

Слияние
author Ritor1
date Wed, 01 May 2013 23:36:54 +0600
parents c0d0656aa662
children 5aba2a5047c4
line wrap: on
line diff
--- a/Viewport.cpp	Wed May 01 23:36:40 2013 +0600
+++ b/Viewport.cpp	Wed May 01 23:36:54 2013 +0600
@@ -172,7 +172,7 @@
 void ViewingParams::InitGrayPalette()
     {
     for  (unsigned short i=0; i<256; ++i)
-        pPalette[i]=GenerateColorAsCloseAsPossibleToR8G8B8InTargetFormat(i, i, i);
+        pPalette[i]=TargetColor(i, i, i);
     }
 
 //----- (00443365) --------------------------------------------------------