From 1ee3b69b989bf33e14216e6d2b1d870825c78748 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Thu, 25 Jul 2019 19:28:33 +0200 Subject: [PATCH] python: added a TODO. --- src/python/magnum/gl.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/python/magnum/gl.cpp b/src/python/magnum/gl.cpp index 6ddf372..90ebe36 100644 --- a/src/python/magnum/gl.cpp +++ b/src/python/magnum/gl.cpp @@ -390,6 +390,7 @@ void gl(py::module& m) { /* Keep a reference to the buffer to avoid it being deleted before the mesh */ + /** @todo isn't there an API for this? */ self.buffers.emplace_back(py::detail::get_object_handle(&buffer, py::detail::get_type_info(typeid(GL::Buffer))), true); }, "Add vertex buffer", py::arg("buffer"), py::arg("offset"), py::arg("stride"), py::arg("attribute")) .def("draw", [](PyMesh& self, GL::AbstractShaderProgram& shader) {