OGLLimit.cs 299 B

123456789101112
  1. using OpenTK.Graphics.OpenGL;
  2. using System;
  3. namespace Ryujinx.Graphics.Gal.OpenGL
  4. {
  5. static class OGLLimit
  6. {
  7. private static Lazy<int> s_MaxUboSize = new Lazy<int>(() => GL.GetInteger(GetPName.MaxUniformBlockSize));
  8. public static int MaxUboSize => s_MaxUboSize.Value;
  9. }
  10. }