- 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 // This must never be called
const uint8_t *FDummyTexture::GetColumn (unsigned int column, const Span **spans_out) uint8_t *FDummyTexture::MakeTexture (FRenderStyle)
{ {
return NULL; return nullptr;
}
// And this also must never be called
const uint8_t *FDummyTexture::GetPixels ()
{
return NULL;
} }
//========================================================================== //==========================================================================

View file

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