SHA256
Refactor
This commit is contained in:
10 files changed
+27
-13
No files matched your search
+3
-3
@@ -15,9 +15,9 @@ namespace ADOFAIRenderer.Util
|
||||
{
|
||||
private const int InitialBufferSize = 16;
|
||||
|
||||
private readonly Stack<ReadbackRequestState> _statePool = new Stack<ReadbackRequestState>();
|
||||
private readonly List<ReadbackRequestState> _allocatedStates = new List<ReadbackRequestState>();
|
||||
private readonly object _poolLock = new object();
|
||||
private readonly Stack<ReadbackRequestState> _statePool = new();
|
||||
private readonly List<ReadbackRequestState> _allocatedStates = new();
|
||||
private readonly object _poolLock = new();
|
||||
private bool _isInitialized;
|
||||
private volatile bool _isDisposed;
|
||||
|
||||
|
||||
Reference in new issue
Block a user