Reduce duplication in orx build scripts. (#240)
Co-authored-by: hamoid <abe@hamoid.com>
This commit is contained in:
@@ -23,6 +23,7 @@ fun RenderTarget.deepDestroy() {
|
||||
is CubemapAttachment -> it.cubemap.destroy()
|
||||
is ArrayTextureAttachment -> it.arrayTexture.destroy()
|
||||
is ArrayCubemapAttachment -> it.arrayCubemap.destroy()
|
||||
else -> {}
|
||||
}
|
||||
}
|
||||
dbcopy?.destroy()
|
||||
|
||||
Reference in New Issue
Block a user