diff options
Diffstat (limited to 'lua')
-rw-r--r-- | lua/luakms.i | 1 | ||||
-rwxr-xr-x | lua/test.lua | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/lua/luakms.i b/lua/luakms.i index 0b87857..5530f84 100644 --- a/lua/luakms.i +++ b/lua/luakms.i @@ -17,6 +17,7 @@ using namespace kms; %include "card.h" %include "property.h" %include "framebuffer.h" +%include "dumbframebuffer.h" %include "plane.h" %include "connector.h" %include "encoder.h" diff --git a/lua/test.lua b/lua/test.lua index bc6c4fc..9455944 100755 --- a/lua/test.lua +++ b/lua/test.lua @@ -10,7 +10,7 @@ conn = card:get_first_connected_connector() mode = conn:get_default_mode() -fb = libluakms.Framebuffer(card, mode.hdisplay, mode.vdisplay, "XR24"); +fb = libluakms.DumbFramebuffer(card, mode.hdisplay, mode.vdisplay, "XR24"); libluakms.draw_test_pattern(fb); crtc = conn:get_current_crtc() |