| 177 | //========================================================================== |
| 178 | |
| 179 | int FTileTexture::CopyPixels(FBitmap* bmp, int conversion, int) |
| 180 | { |
| 181 | TArray<uint8_t> buffer; |
| 182 | auto ppix = GetRawData(); |
| 183 | if (ppix) |
| 184 | { |
| 185 | bmp->CopyPixelData(0, 0, ppix, Width, Height, Height, 1, 0, GPalette.BaseColors); |
| 186 | } |
| 187 | return 0; |
| 188 | } |
| 189 | |
| 190 | // 'conversion' is meaningless here becazse we do not have to bother with a software renderer. |
| 191 | PalettedPixels FTileTexture::CreatePalettedPixels(int conversion, int) |
nothing calls this directly
no test coverage detected