From 9131edff9733babfafbd8e547ce99c7d2cf6753b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Sun, 3 Nov 2019 08:07:51 +0100 Subject: [PATCH] python: doc++ --- src/python/magnum/gl.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/python/magnum/gl.cpp b/src/python/magnum/gl.cpp index d4abffa..72108b3 100644 --- a/src/python/magnum/gl.cpp +++ b/src/python/magnum/gl.cpp @@ -703,8 +703,8 @@ void gl(py::module& m) { .def("clear", [](GL::AbstractFramebuffer& self, GL::FramebufferClear mask) { self.clear(mask); }, "Clear specified buffers in the framebuffer") - .def("read", static_cast(&GL::AbstractFramebuffer::read), "Read block of pixels from the framebuffer to an image view") - .def("read", static_cast(&GL::AbstractFramebuffer::read), "Read block of pixels from the framebuffer to an image") + .def("read", static_cast(&GL::AbstractFramebuffer::read), "Read a block of pixels from the framebuffer to an image view", py::arg("rectangle"), py::arg("image")) + .def("read", static_cast(&GL::AbstractFramebuffer::read), "Read a block of pixels from the framebuffer to an image", py::arg("rectangle"), py::arg("image")) /** @todo more */; py::class_> defaultFramebuffer{m,