reused buffer in GlTexture::copyFrom(GpuMat)

This commit is contained in:
Vladislav Vinogradov
2012-02-27 13:22:41 +00:00
parent 212ceb3e24
commit 5c0f2f8ea1
2 changed files with 7 additions and 6 deletions

View File

@@ -157,6 +157,7 @@ namespace cv
int type_;
Ptr<Impl> impl_;
GlBuffer buf_;
};
template <> CV_EXPORTS void Ptr<GlTexture::Impl>::delete_obj();