From e96de98a73691b944b171dd82124c8d53a25aba9 Mon Sep 17 00:00:00 2001 From: David Rose Date: Fri, 18 May 2001 20:59:44 +0000 Subject: [PATCH] fix crash on exit --- panda/src/display/graphicsStateGuardian.cxx | 9 +++++++++ panda/src/display/graphicsStateGuardian.h | 1 + 2 files changed, 10 insertions(+) diff --git a/panda/src/display/graphicsStateGuardian.cxx b/panda/src/display/graphicsStateGuardian.cxx index f2bd3e4eb8..c6b0762b9d 100644 --- a/panda/src/display/graphicsStateGuardian.cxx +++ b/panda/src/display/graphicsStateGuardian.cxx @@ -70,6 +70,15 @@ GraphicsStateGuardian(GraphicsWindow *win) { reset(); } +//////////////////////////////////////////////////////////////////// +// Function: GraphicsStateGuardian::Destructor +// Access: Public +// Description: +//////////////////////////////////////////////////////////////////// +GraphicsStateGuardian:: +~GraphicsStateGuardian() { +} + //////////////////////////////////////////////////////////////////// // Function: GraphicsStateGuardian::release_all_textures // Access: Public diff --git a/panda/src/display/graphicsStateGuardian.h b/panda/src/display/graphicsStateGuardian.h index 4a5e1eedc0..5ac87eb0dd 100644 --- a/panda/src/display/graphicsStateGuardian.h +++ b/panda/src/display/graphicsStateGuardian.h @@ -41,6 +41,7 @@ class EXPCL_PANDA GraphicsStateGuardian : public GraphicsStateGuardianBase { // public: GraphicsStateGuardian(GraphicsWindow *win); + ~GraphicsStateGuardian(); PUBLISHED: INLINE void set_render_traverser(RenderTraverser *rt);