mirror of
https://github.com/RaindropViewer/RaindropViewer.git
synced 2026-07-27 22:11:39 +00:00
refactor, CI: reduce impact of failed Tex pooling
This commit is contained in:
committed by
alexiscatnip
parent
eb5f2be103
commit
79b6c048f7
@@ -48,7 +48,8 @@ namespace Plugins.ObjectPool
|
||||
return fromPool;
|
||||
}
|
||||
|
||||
throw new PoolException("insufficient textures in pool");
|
||||
Debug.LogWarning("insufficient textures in pool");
|
||||
return null;
|
||||
// var t2d = new Texture2D(256, 256, textureFormat, DefaultMipMapOn);
|
||||
// return t2d;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user