Commit f97db5ac authored by Christopher Tenter's avatar Christopher Tenter
Browse files

fix clang warning

parent e17070fa
......@@ -188,7 +188,7 @@ void DepthPeelingPlugin::destroyResources(int _viewerId)
if (p->blendDualPeelFbo_) glDeleteFramebuffersEXT(1, &p->blendDualPeelFbo_);
p->blendDualPeelFbo_ = 0;
if (p->blendDualPeelTexID_) glDeleteTextures(7, p->blendDualPeelTexID_);
if (p->blendDualPeelTexID_[0]) glDeleteTextures(7, p->blendDualPeelTexID_);
memset(p->blendDualPeelTexID_, 0, sizeof(p->blendDualPeelTexID_));
}
......
Supports Markdown
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