Fix Linux build

This commit is contained in:
sunshineinabox 2024-02-09 20:18:26 -08:00
parent 5ff31ce4ad
commit 7d536dc16a

View file

@ -352,6 +352,7 @@ namespace Ryujinx.Ava.UI.ViewModels
{ {
if (!_isSpirVAvailableCache.HasValue) if (!_isSpirVAvailableCache.HasValue)
{ {
GL.LoadBindings(null);
_isSpirVAvailableCache = GL.GetString(StringName.Extensions).Contains("GL_ARB_gl_spirv"); _isSpirVAvailableCache = GL.GetString(StringName.Extensions).Contains("GL_ARB_gl_spirv");
IsSpirVAvailable = _isSpirVAvailableCache.Value; IsSpirVAvailable = _isSpirVAvailableCache.Value;
} }