mirror of
https://git.ryujinx.app/projects/Kenji-NX.git
synced 2026-10-07 04:08:54 +02:00
Migrate to .NET 9
This commit is contained in:
committed by
KeatonTheBot
parent
aad9c3e715
commit
8547285aba
@@ -5,6 +5,7 @@ using shaderc;
|
||||
using Silk.NET.Vulkan;
|
||||
using System;
|
||||
using System.Runtime.InteropServices;
|
||||
using System.Threading;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Ryujinx.Graphics.Vulkan
|
||||
@@ -13,7 +14,7 @@ namespace Ryujinx.Graphics.Vulkan
|
||||
{
|
||||
// The shaderc.net dependency's Options constructor and dispose are not thread safe.
|
||||
// Take this lock when using them.
|
||||
private static readonly object _shaderOptionsLock = new();
|
||||
private static readonly Lock _shaderOptionsLock = new();
|
||||
|
||||
private static readonly IntPtr _ptrMainEntryPointName = Marshal.StringToHGlobalAnsi("main");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user