| 57 | } |
| 58 | |
| 59 | FBitmap GetBgraBitmap(const PalEntry*, int *trans) override |
| 60 | { |
| 61 | FBitmap bmp; |
| 62 | bmp.Create(Width, Height); |
| 63 | bmp.CopyPixelDataRGB(0, 0, (uint8_t*)WorkBuffer.Data(), Width, Height, 4, Width*4, 0, CF_RGBA, nullptr); |
| 64 | if (trans) *trans = 0; |
| 65 | return bmp; |
| 66 | } |
| 67 | |
| 68 | uint32_t *GetBuffer() |
| 69 | { |
nothing calls this directly
no test coverage detected