forked from Mirror/Ryujinx
12 lines
299 B
C#
12 lines
299 B
C#
|
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;
|
||
|
}
|
||
|
}
|