- 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

@ -28,7 +28,7 @@
#include "f_wipe.h"
#include "templates.h"
#include "textures/bitmap.h"
#include "hwrenderer/textures/hw_material.h"
#include "hw_material.h"
class FBurnTexture : public FTexture
{
@ -41,7 +41,7 @@ public:
Height = h;
}
FBitmap GetBgraBitmap(PalEntry*, int *trans) override
FBitmap GetBgraBitmap(const PalEntry*, int *trans) override
{
FBitmap bmp;
bmp.Create(Width, Height);