private void SetupGeometryBuffers() { verts = new VertexBufferObject (VertexBufferType.ArrayBuffer, VertexBufferUsageHint.StaticDraw); indices = new VertexBufferObject (VertexBufferType.ElementArrayBuffer, VertexBufferUsageHint.StaticDraw); float[] points = { 0.0f, 0.0f, 0.0f, }; ushort[] idx = { 0 }; verts.push_data (ref points); verts.Bind (); GL.VertexPointer (3, VertexPointerType.Float, 0, 0); indices.push_data (ref idx); indices.Bind(); }