mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-26 22:11:43 +00:00
- fix null pointer crash
This commit is contained in:
parent
7c0633a3e9
commit
d3205f46a8
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