From 57a3540010861f78bb86d493f084a2f4dd52169c Mon Sep 17 00:00:00 2001 From: Pixel Date: Mon, 28 Dec 2009 23:57:18 +0100 Subject: Tweaking a bit the framebuffer, in order to properly use the double buffer. --- iupe-dbuffer.lua | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'iupe-dbuffer.lua') diff --git a/iupe-dbuffer.lua b/iupe-dbuffer.lua index 4321206..8c1412f 100644 --- a/iupe-dbuffer.lua +++ b/iupe-dbuffer.lua @@ -4,6 +4,8 @@ loadmodule "lualibs" if not iupep then iupep = {} end +if not iupep.dbuffer then + iupep.dbuffer = { map_cb = function (self) self.cv = cd.CreateCanvas(cd.IUP, self) @@ -41,3 +43,5 @@ iupep.dbuffer = { return iup.DEFAULT end, } + +end -- cgit v1.2.3