Mercurial > mm7
comparison Viewport.cpp @ 951:840b78f6c2d3
Слияние
author | Ritor1 |
---|---|
date | Wed, 01 May 2013 23:36:54 +0600 |
parents | c0d0656aa662 |
children | 5aba2a5047c4 |
comparison
equal
deleted
inserted
replaced
950:5e87b0c3f939 | 951:840b78f6c2d3 |
---|---|
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 { |