mirror of
https://github.com/ZDoom/qzdoom.git
synced 2025-02-18 01:52:34 +00:00
- minor reformatting.
This commit is contained in:
parent
47bfbb5e08
commit
a399d79f8a
8 changed files with 17 additions and 24 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
//==========================================================================
|
||||
|
|
|
@ -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);
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue