Commit ac96a097 authored by Jan Möbius's avatar Jan Möbius
Browse files

Merge branch 'OldDepthPeeling' into 'master'

fix clang warning

clang warning in old depth peeling plugin due to wrong if condition

See merge request !9
parents e17070fa f97db5ac
......@@ -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