Browse Source

Fix GL.CreateBuffers -> GL.GenBuffers (#189)

ReinUsesLisp 7 years ago
parent
commit
af5f059d4e
1 changed files with 2 additions and 2 deletions
  1. 2 2
      Ryujinx.Graphics/Gal/OpenGL/OGLStreamBuffer.cs

+ 2 - 2
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
             }
         }
     }
-}
+}