- const-ified the palette pointers in the texture creation code.
- fixed includes.
This commit is contained in:
parent
65f15e1147
commit
d586ffa79c
32 changed files with 37 additions and 37 deletions
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue