summaryrefslogtreecommitdiff
path: root/py
diff options
context:
space:
mode:
Diffstat (limited to 'py')
-rw-r--r--py/pykms/pykmsomap.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/py/pykms/pykmsomap.cpp b/py/pykms/pykmsomap.cpp
index a749f76..0b27e51 100644
--- a/py/pykms/pykmsomap.cpp
+++ b/py/pykms/pykmsomap.cpp
@@ -15,9 +15,9 @@ void init_pykmsomap(py::module &m)
;
py::class_<OmapFramebuffer>(m, "OmapFramebuffer", py::base<MappedFramebuffer>())
- .def(py::init<OmapCard&, uint32_t, uint32_t, const string&>(),
+ .def(py::init<OmapCard&, uint32_t, uint32_t, const string&, bool>(),
py::keep_alive<1, 2>()) // Keep Card alive until this is destructed
- .def(py::init<OmapCard&, uint32_t, uint32_t, PixelFormat>(),
+ .def(py::init<OmapCard&, uint32_t, uint32_t, PixelFormat, bool>(),
py::keep_alive<1, 2>()) // Keep OmapCard alive until this is destructed
;
}