Mercurial > mm7
comparison Viewport.cpp @ 956:e9292c58644a
Слияние
author | Ritor1 |
---|---|
date | Thu, 02 May 2013 11:03:26 +0600 |
parents | c0d0656aa662 |
children | 5aba2a5047c4 |
comparison
equal
deleted
inserted
replaced
955:21cc2b274220 | 956:e9292c58644a |
---|---|
170 | 170 |
171 //----- (00443343) -------------------------------------------------------- | 171 //----- (00443343) -------------------------------------------------------- |
172 void ViewingParams::InitGrayPalette() | 172 void ViewingParams::InitGrayPalette() |
173 { | 173 { |
174 for (unsigned short i=0; i<256; ++i) | 174 for (unsigned short i=0; i<256; ++i) |
175 pPalette[i]=GenerateColorAsCloseAsPossibleToR8G8B8InTargetFormat(i, i, i); | 175 pPalette[i]=TargetColor(i, i, i); |
176 } | 176 } |
177 | 177 |
178 //----- (00443365) -------------------------------------------------------- | 178 //----- (00443365) -------------------------------------------------------- |
179 void ViewingParams::_443365() | 179 void ViewingParams::_443365() |
180 { | 180 { |