Skip to content

Commit

Permalink
Revert "- error out if destroying a canvas object"
Browse files Browse the repository at this point in the history
This reverts commit 8e16822.
  • Loading branch information
madame-rachelle committed Nov 8, 2024
1 parent d85d04f commit 220200d
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/common/2d/v_2ddrawer.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
#include "renderstyle.h"
#include "dobject.h"
#include "refcounted.h"
#include "printf.h"

struct DrawParms;
struct FColormap;
Expand Down Expand Up @@ -280,7 +279,6 @@ class F2DDrawer
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;
Expand Down

0 comments on commit 220200d

Please sign in to comment.