aboutsummaryrefslogtreecommitdiff
path: root/Ryujinx.Graphics/Gal/OpenGL/OGLStreamBuffer.cs
diff options
context:
space:
mode:
authorReinUsesLisp <reinuseslisp@airmail.cc>2018-06-26 02:30:46 -0300
committergdkchan <gab.dark.100@gmail.com>2018-06-26 02:30:46 -0300
commitaf5f059d4ed8921a4efd6acdb264483dfc025ecb (patch)
treec167685d5fa8d55f02e4937260bef18415dec715 /Ryujinx.Graphics/Gal/OpenGL/OGLStreamBuffer.cs
parent09dfefed1f84585e2b305cd16482f899b93fe629 (diff)
Fix GL.CreateBuffers -> GL.GenBuffers (#189)
Diffstat (limited to 'Ryujinx.Graphics/Gal/OpenGL/OGLStreamBuffer.cs')
-rw-r--r--Ryujinx.Graphics/Gal/OpenGL/OGLStreamBuffer.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/Ryujinx.Graphics/Gal/OpenGL/OGLStreamBuffer.cs b/Ryujinx.Graphics/Gal/OpenGL/OGLStreamBuffer.cs
index 3d91b09f..329c5b5d 100644
--- a/Ryujinx.Graphics/Gal/OpenGL/OGLStreamBuffer.cs
+++ b/Ryujinx.Graphics/Gal/OpenGL/OGLStreamBuffer.cs
@@ -83,7 +83,7 @@ namespace Ryujinx.Graphics.Gal.OpenGL
{
Memory = new byte[MaxSize];
- GL.CreateBuffers(1, out int Handle);
+ GL.GenBuffers(1, out int Handle);
GL.BindBuffer(Target, Handle);
@@ -110,4 +110,4 @@ namespace Ryujinx.Graphics.Gal.OpenGL
}
}
}
-} \ No newline at end of file
+}