Searched refs:pal_size (Results 1 – 1 of 1) sorted by relevance
780 uint32_t pal_size = 1 << GetBPP(); in SetPalette() local782 m_pPalette.reset(FX_Alloc(uint32_t, pal_size)); in SetPalette()783 pal_size = std::min(pal_size, kPaletteSize); in SetPalette()784 memcpy(m_pPalette.get(), pSrc, pal_size * sizeof(uint32_t)); in SetPalette()