Skip to content

Commit 07c1caf

Browse files
committed
This is Preview 4
1 parent 431d117 commit 07c1caf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Lab/Triangle/Program.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ private static unsafe void Load()
6565
_shader.Use();
6666
_vertexArrayObject = _gl.GenVertexArray();
6767
_gl.BindVertexArray(_vertexArrayObject);
68-
_gl.VertexAttribPointer(0, 3, GLEnum.Float, false, 3 * sizeof(float), 0);
68+
_gl.VertexAttribPointer(0, 3, GLEnum.Float, false, 3 * sizeof(float), null);
6969
_gl.EnableVertexAttribArray(0);
7070
_gl.BindBuffer(GLEnum.ArrayBuffer, _vertexBufferObject);
7171
}

0 commit comments

Comments
 (0)