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