Commit 8ada01aa authored by Christopher Tenter's avatar Christopher Tenter

fix potential crash on double-free

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@20564 383ad7c9-94d9-4d36-a494-682f7c89f535
parent 98bddb80
......@@ -140,7 +140,7 @@ MSTextureSampler::MSTextureSampler() : shaderNearest_(0), shaderNearestDepth_(0)
MSTextureSampler::~MSTextureSampler() {
delete shaderNearest_;
delete shaderLinear_;
delete shaderNearest_;
delete shaderNearestDepth_;
}
MSTextureSampler& MSTextureSampler::instance() {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment