MCPcopy Create free account
hub / github.com/ZDoom/Raze / CopyTranslatedPixels

Method CopyTranslatedPixels

source/common/textures/image.cpp:180–185  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

178}
179
180int FImageSource::CopyTranslatedPixels(FBitmap *bmp, const PalEntry *remap, int frame)
181{
182 auto ppix = CreatePalettedPixels(normal, frame);
183 bmp->CopyPixelData(0, 0, ppix.Data(), Width, Height, Height, 1, 0, remap, nullptr);
184 return 0;
185}
186
187//==========================================================================
188//

Callers 1

CopyPixelsMethod · 0.80

Calls 2

CopyPixelDataMethod · 0.80
DataMethod · 0.45

Tested by

no test coverage detected