- const-ified the palette pointers in the texture creation code.

- fixed includes.
This commit is contained in:
Christoph Oelckers 2020-04-11 19:08:22 +02:00
commit d586ffa79c
32 changed files with 37 additions and 37 deletions

View file

@ -73,7 +73,7 @@ FImageTexture::FImageTexture(FImageSource *img, const char *name) noexcept
//
//===========================================================================
FBitmap FImageTexture::GetBgraBitmap(PalEntry *p, int *trans)
FBitmap FImageTexture::GetBgraBitmap(const PalEntry *p, int *trans)
{
return mImage->GetCachedBitmap(p, bNoRemap0? FImageSource::noremap0 : FImageSource::normal, trans);
}