mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-29 07:12:36 +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 "renderstyle.h"
|
||||||
#include "dobject.h"
|
#include "dobject.h"
|
||||||
#include "refcounted.h"
|
#include "refcounted.h"
|
||||||
#include "printf.h"
|
|
||||||
|
|
||||||
struct DrawParms;
|
struct DrawParms;
|
||||||
struct FColormap;
|
struct FColormap;
|
||||||
|
@ -280,7 +279,6 @@ public:
|
||||||
class FCanvas : public DObject
|
class FCanvas : public DObject
|
||||||
{
|
{
|
||||||
DECLARE_CLASS(FCanvas, DObject)
|
DECLARE_CLASS(FCanvas, DObject)
|
||||||
void OnDestroy() override { I_Error("Calling Destroy on a canvas object is not allowed."); }
|
|
||||||
public:
|
public:
|
||||||
F2DDrawer Drawer;
|
F2DDrawer Drawer;
|
||||||
FCanvasTexture* Tex = nullptr;
|
FCanvasTexture* Tex = nullptr;
|
||||||
|
|
Loading…
Reference in a new issue