- fix compilation

This commit is contained in:
Christoph Oelckers 2023-08-23 18:26:42 +02:00
parent 7c90ea6b84
commit c6e2e0add2

View file

@ -97,7 +97,7 @@ FWebPTexture::FWebPTexture(int lumpnum, int w, int h, int xoff, int yoff)
PalettedPixels FWebPTexture::CreatePalettedPixels(int conversion, int frame) PalettedPixels FWebPTexture::CreatePalettedPixels(int conversion, int frame)
{ {
FBitmap bitmap; FBitmap bitmap;
bitmap.Create(Width, Height, frame); bitmap.Create(Width, Height);
CopyPixels(&bitmap, conversion); CopyPixels(&bitmap, conversion);
const uint8_t *data = bitmap.GetPixels(); const uint8_t *data = bitmap.GetPixels();