aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJyri Sarha2017-03-24 15:45:31 -0500
committerJyri Sarha2017-05-31 10:49:29 -0500
commitb39260b2775cfc101fae418810c46cec7aa6cf9f (patch)
treeaf779fc76d7a59092ccbc895a0a3f382319cccc0
parente71c232660a7480c2b56f6e76e83fad4c7e9da8a (diff)
downloadexternal-kmsxx-b39260b2775cfc101fae418810c46cec7aa6cf9f.tar.gz
external-kmsxx-b39260b2775cfc101fae418810c46cec7aa6cf9f.tar.xz
external-kmsxx-b39260b2775cfc101fae418810c46cec7aa6cf9f.zip
Add Crtc::disable_mode() to pykmsbase.cpp.
-rw-r--r--py/pykms/pykmsbase.cpp1
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 {