From 5011640b3086b86b0f0b39b60fdb2aa946d4f5c8 Mon Sep 17 00:00:00 2001 From: gdkchan Date: Sat, 23 May 2020 06:46:09 -0300 Subject: Spanify Graphics Abstraction Layer (#1226) * Spanify Graphics Abstraction Layer * Be explicit about BufferHandle size --- Ryujinx.Graphics.OpenGL/Constants.cs | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 Ryujinx.Graphics.OpenGL/Constants.cs (limited to 'Ryujinx.Graphics.OpenGL/Constants.cs') diff --git a/Ryujinx.Graphics.OpenGL/Constants.cs b/Ryujinx.Graphics.OpenGL/Constants.cs new file mode 100644 index 00000000..9775b240 --- /dev/null +++ b/Ryujinx.Graphics.OpenGL/Constants.cs @@ -0,0 +1,10 @@ +namespace Ryujinx.Graphics.OpenGL +{ + static class Constants + { + public const int MaxRenderTargets = 8; + public const int MaxViewports = 16; + public const int MaxVertexAttribs = 16; + public const int MaxVertexBuffers = 16; + } +} -- cgit v1.2.3