blob: 6c385bc4a2136a61dfe192fbd7000bff938bb00e (
plain)
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> s_MaxUboSize = new Lazy<int>(() => GL.GetInteger(GetPName.MaxUniformBlockSize));
public static int MaxUboSize => s_MaxUboSize.Value;
}
}
|