mirror of
https://github.com/ZDoom/gzdoom.git
synced 2025-02-18 10:11:11 +00:00
- fix null pointer crash
This commit is contained in:
parent
e0826726ba
commit
bab9d612c3
1 changed files with 2 additions and 2 deletions
|
@ -191,8 +191,8 @@ public:
|
|||
virtual void Unload() override;
|
||||
void UpdatePixels(bool truecolor);
|
||||
|
||||
DCanvas *GetCanvas() { return Canvas; }
|
||||
DCanvas *GetCanvasBgra() { return CanvasBgra; }
|
||||
DCanvas *GetCanvas() { GetPixels(0); return Canvas; }
|
||||
DCanvas *GetCanvasBgra() { GetPixelsBgra(); return CanvasBgra; }
|
||||
bool Mipmapped() override { return false; }
|
||||
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue