mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-22 04:01:31 +00:00
Revert "- error out if destroying a canvas object"
This reverts commit 8e16822ef9
.
This commit is contained in:
parent
d85d04f421
commit
220200d836
1 changed files with 0 additions and 2 deletions
|
@ -8,7 +8,6 @@
|
|||
#include "renderstyle.h"
|
||||
#include "dobject.h"
|
||||
#include "refcounted.h"
|
||||
#include "printf.h"
|
||||
|
||||
struct DrawParms;
|
||||
struct FColormap;
|
||||
|
@ -280,7 +279,6 @@ public:
|
|||
class FCanvas : public DObject
|
||||
{
|
||||
DECLARE_CLASS(FCanvas, DObject)
|
||||
void OnDestroy() override { I_Error("Calling Destroy on a canvas object is not allowed."); }
|
||||
public:
|
||||
F2DDrawer Drawer;
|
||||
FCanvasTexture* Tex = nullptr;
|
||||
|
|
Loading…
Reference in a new issue