public void Render(SharpGL.OpenGL gl, ShaderWrapper shader) { m_vertexBuffer.Bind(gl); gl.DrawArrays(SharpGL.OpenGL.GL_QUADS, 0, Vertices.Count); m_vertexBuffer.Unbind(gl); }
public void Render(SharpGL.OpenGL gl, ShaderWrapper shader) { m_vertexBuffer.Bind(gl); gl.DrawArrays(SharpGL.OpenGL.GL_QUADS, 0, Vertices.Count); m_vertexBuffer.Unbind(gl); }