This commit is contained in:
bird_egop
2026-06-05 20:47:57 +03:00
parent 195e6d71bd
commit 614787789e
11 changed files with 446 additions and 42 deletions
+1 -1
View File
@@ -28,7 +28,7 @@ public sealed class GpuMesh
PrimitiveType = primitiveType;
}
public void Draw()
public unsafe void Draw()
{
_gl.BindVertexArray(VertexArrayObject);
_gl.DrawElements(PrimitiveType, IndexCount, DrawElementsType.UnsignedInt, null);