aboutsummaryrefslogtreecommitdiff
path: root/Ryujinx.Graphics/Gal/OpenGL/OglLimit.cs
blob: 2a227a374a1efb100be69026ed414645138d38cc (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
using OpenTK.Graphics.OpenGL;
using System;

namespace Ryujinx.Graphics.Gal.OpenGL
{
    static class OglLimit
    {
        private static Lazy<int> _sMaxUboSize = new Lazy<int>(() => GL.GetInteger(GetPName.MaxUniformBlockSize));

        public static int MaxUboSize => _sMaxUboSize.Value;
    }
}