diff --git a/panda/src/dxgsg8/dxTextureContext8.cxx b/panda/src/dxgsg8/dxTextureContext8.cxx index 45787cdb1d..bdd4daa611 100644 --- a/panda/src/dxgsg8/dxTextureContext8.cxx +++ b/panda/src/dxgsg8/dxTextureContext8.cxx @@ -62,7 +62,6 @@ DXTextureContext8:: << "Deleting texture context for " << get_texture()->get_name() << "\n"; } delete_texture(); - TextureContext::~TextureContext(); } //////////////////////////////////////////////////////////////////// diff --git a/panda/src/dxgsg9/dxTextureContext9.cxx b/panda/src/dxgsg9/dxTextureContext9.cxx index 9f196056e0..ff47d97a71 100755 --- a/panda/src/dxgsg9/dxTextureContext9.cxx +++ b/panda/src/dxgsg9/dxTextureContext9.cxx @@ -74,7 +74,6 @@ DXTextureContext9:: } delete_texture(); - TextureContext::~TextureContext(); } ////////////////////////////////////////////////////////////////////