Searched refs:gray_pal (Results 1 – 1 of 1) sorted by relevance
2916 uint8_t* gray_pal = FX_Alloc(uint8_t, pal_count); in InitSourcePalette() local2917 m_pSrcPalette.reset(reinterpret_cast<uint32_t*>(gray_pal)); in InitSourcePalette()2927 *gray_pal++ = FXRGB2GRAY(r, g, b); in InitSourcePalette()2932 *gray_pal++ = in InitSourcePalette()2959 uint8_t* gray_pal = FX_Alloc(uint8_t, pal_count); in InitSourcePalette() local2961 gray_pal[0] = 0; in InitSourcePalette()2962 gray_pal[1] = 255; in InitSourcePalette()2965 gray_pal[i] = i; in InitSourcePalette()2967 m_pSrcPalette.reset(reinterpret_cast<uint32_t*>(gray_pal)); in InitSourcePalette()