Reduce duplication in orx build scripts. (#240)
Co-authored-by: hamoid <abe@hamoid.com>
This commit is contained in:
@@ -130,6 +130,7 @@ internal class ConvolutionPyramid(width: Int, height: Int,
|
||||
is CubemapAttachment -> it.cubemap.destroy()
|
||||
is ArrayTextureAttachment -> it.arrayTexture.destroy()
|
||||
is ArrayCubemapAttachment -> it.arrayCubemap.destroy()
|
||||
else -> {}
|
||||
}
|
||||
}
|
||||
it.detachColorAttachments()
|
||||
|
||||
Reference in New Issue
Block a user