diff options
author | Jyri Sarha | 2017-03-24 15:45:31 -0500 |
---|---|---|
committer | Jyri Sarha | 2017-05-31 10:49:29 -0500 |
commit | b39260b2775cfc101fae418810c46cec7aa6cf9f (patch) | |
tree | af779fc76d7a59092ccbc895a0a3f382319cccc0 | |
parent | e71c232660a7480c2b56f6e76e83fad4c7e9da8a (diff) | |
download | external-libkmsxx-b39260b2775cfc101fae418810c46cec7aa6cf9f.tar.gz external-libkmsxx-b39260b2775cfc101fae418810c46cec7aa6cf9f.tar.xz external-libkmsxx-b39260b2775cfc101fae418810c46cec7aa6cf9f.zip |
Add Crtc::disable_mode() to pykmsbase.cpp.
-rw-r--r-- | py/pykms/pykmsbase.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/py/pykms/pykmsbase.cpp b/py/pykms/pykmsbase.cpp index d013f1f..49b0a19 100644 --- a/py/pykms/pykmsbase.cpp +++ b/py/pykms/pykmsbase.cpp | |||
@@ -50,6 +50,7 @@ void init_pykmsbase(py::module &m) | |||
50 | 50 | ||
51 | py::class_<Crtc, Crtc*>(m, "Crtc", py::base<DrmPropObject>()) | 51 | py::class_<Crtc, Crtc*>(m, "Crtc", py::base<DrmPropObject>()) |
52 | .def("set_mode", &Crtc::set_mode) | 52 | .def("set_mode", &Crtc::set_mode) |
53 | .def("disable_mode", &Crtc::disable_mode) | ||
53 | .def("page_flip", | 54 | .def("page_flip", |
54 | [](Crtc* self, Framebuffer& fb, py::object ob) | 55 | [](Crtc* self, Framebuffer& fb, py::object ob) |
55 | { | 56 | { |