소스 검색

prevent double-destruct

David Rose 20 년 전
부모
커밋
338791f68b
2개의 변경된 파일0개의 추가작업 그리고 2개의 파일을 삭제
  1. 0 1
      panda/src/dxgsg8/dxTextureContext8.cxx
  2. 0 1
      panda/src/dxgsg9/dxTextureContext9.cxx

+ 0 - 1
panda/src/dxgsg8/dxTextureContext8.cxx

@@ -62,7 +62,6 @@ DXTextureContext8::
       << "Deleting texture context for " << get_texture()->get_name() << "\n";
   }
   delete_texture();
-  TextureContext::~TextureContext();
 }
 
 ////////////////////////////////////////////////////////////////////

+ 0 - 1
panda/src/dxgsg9/dxTextureContext9.cxx

@@ -74,7 +74,6 @@ DXTextureContext9::
   }
 
   delete_texture();
-  TextureContext::~TextureContext();
 }
 
 ////////////////////////////////////////////////////////////////////