mirror of
https://git.naxdy.org/Mirror/Ryujinx.git
synced 2024-11-16 01:55:27 +00:00
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> s_MaxUboSize = new Lazy<int>(() => GL.GetInteger(GetPName.MaxUniformBlockSize));
|
||
|
|
||
|
public static int MaxUboSize => s_MaxUboSize.Value;
|
||
|
}
|
||
|
}
|