minor fixes

This commit is contained in:
minjaesong
2019-07-21 18:05:28 +09:00
parent dfd43f52d5
commit 7ae5a8c132
3 changed files with 6 additions and 18 deletions

View File

@@ -89,9 +89,9 @@ object CommonResourcePool {
try {
if (u is Disposable)
u.dispose()
if (u is Texture)
else if (u is Texture)
u.dispose()
if (u is TextureRegion)
else if (u is TextureRegion)
u.texture.dispose()
// TODO
}