Address PR feedback.

This commit is contained in:
Brian Phlipot
2023-02-02 11:54:17 -08:00
committed by teejusb
parent 4a6b1a743c
commit d079940fea
44 changed files with 259 additions and 236 deletions
+1 -1
View File
@@ -156,7 +156,7 @@ void RageSurfaceUtils::Palettize( RageSurface *&pImg, int iColors, bool bDither
// Rescale the palette colors to a maxval of 255.
{
auto& pal = pRet->format->palette;
std::unique_ptr<RageSurfacePalette>& pal = pRet->format->palette;
for( int x = 0; x < pal->ncolors; ++x )
{
// This is really just PAM_DEPTH() broken out for the palette.