David Rose 24 years ago
parent
commit
8f89401c8e

+ 1 - 1
panda/src/display/graphicsStateGuardian.cxx

@@ -72,7 +72,7 @@ GraphicsStateGuardian(GraphicsWindow *win) {
 
 ////////////////////////////////////////////////////////////////////
 //     Function: GraphicsStateGuardian::Destructor
-//       Access: Public
+//       Access: Public, Virtual
 //  Description: 
 ////////////////////////////////////////////////////////////////////
 GraphicsStateGuardian::

+ 1 - 1
panda/src/display/graphicsStateGuardian.h

@@ -41,7 +41,7 @@ class EXPCL_PANDA GraphicsStateGuardian : public GraphicsStateGuardianBase {
   //
 public:
   GraphicsStateGuardian(GraphicsWindow *win);
-  ~GraphicsStateGuardian();
+  virtual ~GraphicsStateGuardian();
 
 PUBLISHED:
   INLINE void set_render_traverser(RenderTraverser *rt);