"static readonly" constants should be "const" instead (#5560)
* "static readonly" constants should be "const" instead * change fields to PascalCase
This commit is contained in:
parent
ddefb4fff4
commit
8edfb2bc7b
6 changed files with 21 additions and 21 deletions
|
@ -8,7 +8,7 @@ namespace Ryujinx.Graphics.Vulkan
|
|||
/// </summary>
|
||||
class MultiFenceHolder
|
||||
{
|
||||
private static readonly int _bufferUsageTrackingGranularity = 4096;
|
||||
private const int BufferUsageTrackingGranularity = 4096;
|
||||
|
||||
private readonly FenceHolder[] _fences;
|
||||
private readonly BufferUsageBitmap _bufferUsageBitmap;
|
||||
|
@ -28,7 +28,7 @@ namespace Ryujinx.Graphics.Vulkan
|
|||
public MultiFenceHolder(int size)
|
||||
{
|
||||
_fences = new FenceHolder[CommandBufferPool.MaxCommandBuffers];
|
||||
_bufferUsageBitmap = new BufferUsageBitmap(size, _bufferUsageTrackingGranularity);
|
||||
_bufferUsageBitmap = new BufferUsageBitmap(size, BufferUsageTrackingGranularity);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue