summaryrefslogtreecommitdiff
path: root/py
diff options
context:
space:
mode:
Diffstat (limited to 'py')
-rw-r--r--py/pykms/pykmsutil.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/py/pykms/pykmsutil.cpp b/py/pykms/pykmsutil.cpp
index d5d7fde..92d8ebc 100644
--- a/py/pykms/pykmsutil.cpp
+++ b/py/pykms/pykmsutil.cpp
@@ -61,5 +61,9 @@ void init_pykmstest(py::module &m)
draw_circle(fb, xCenter, yCenter, radius, color);
} );
m.def("draw_text", [](Framebuffer& fb, uint32_t x, uint32_t y, const string& str, RGB color) {
- draw_text(fb, x, y, str, color); } );
+ draw_text(fb, x, y, str, color);
+ } );
+ m.def("dump_framebuffer", [](Framebuffer& fb, int fd) {
+ dump_framebuffer(fb, fd);
+ } );
}