From 7d536dc16a7162ff740e8035cfbd7a668243d608 Mon Sep 17 00:00:00 2001 From: sunshineinabox Date: Fri, 9 Feb 2024 20:18:26 -0800 Subject: [PATCH] Fix Linux build --- src/Ryujinx.Ava/UI/ViewModels/SettingsViewModel.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Ryujinx.Ava/UI/ViewModels/SettingsViewModel.cs b/src/Ryujinx.Ava/UI/ViewModels/SettingsViewModel.cs index a26162163..4ef1d7092 100644 --- a/src/Ryujinx.Ava/UI/ViewModels/SettingsViewModel.cs +++ b/src/Ryujinx.Ava/UI/ViewModels/SettingsViewModel.cs @@ -352,6 +352,7 @@ namespace Ryujinx.Ava.UI.ViewModels { if (!_isSpirVAvailableCache.HasValue) { + GL.LoadBindings(null); _isSpirVAvailableCache = GL.GetString(StringName.Extensions).Contains("GL_ARB_gl_spirv"); IsSpirVAvailable = _isSpirVAvailableCache.Value; }