- minor reformatting.

This commit is contained in:
Christoph Oelckers 2018-03-18 14:18:42 +01:00
parent 47bfbb5e08
commit a399d79f8a
8 changed files with 17 additions and 24 deletions

View file

@ -961,15 +961,9 @@ void FDummyTexture::SetSize (int width, int height)
}
// This must never be called
const uint8_t *FDummyTexture::GetColumn (unsigned int column, const Span **spans_out)
uint8_t *FDummyTexture::MakeTexture (FRenderStyle)
{
return NULL;
}
// And this also must never be called
const uint8_t *FDummyTexture::GetPixels ()
{
return NULL;
return nullptr;
}
//==========================================================================

View file

@ -601,12 +601,11 @@ protected:
};
// A texture that doesn't really exist
class FDummyTexture : public FTexture
class FDummyTexture : public FWorldTexture
{
public:
FDummyTexture ();
const uint8_t *GetColumn (unsigned int column, const Span **spans_out);
const uint8_t *GetPixels ();
uint8_t *MakeTexture(FRenderStyle);
void SetSize (int width, int height);
};