summaryrefslogtreecommitdiff
path: root/html/examples/iup_dbuffer.wlua
diff options
context:
space:
mode:
authorscuri <scuri>2010-04-23 14:27:10 +0000
committerscuri <scuri>2010-04-23 14:27:10 +0000
commit7baa004d4455a02826aee2aa460ea99030b294da (patch)
tree5ffd6facab10245715297d821cf7f4546c9cd534 /html/examples/iup_dbuffer.wlua
parentf97ac4b5898063b8befb17cd2c53394f99efcd21 (diff)
Fixed: missed implementation for CD_DEBUG, CD_PICTURE and CD_DBUFFERRGB in Lua.
Diffstat (limited to 'html/examples/iup_dbuffer.wlua')
-rw-r--r--html/examples/iup_dbuffer.wlua3
1 files changed, 2 insertions, 1 deletions
diff --git a/html/examples/iup_dbuffer.wlua b/html/examples/iup_dbuffer.wlua
index 3f33746..dffccfd 100644
--- a/html/examples/iup_dbuffer.wlua
+++ b/html/examples/iup_dbuffer.wlua
@@ -14,7 +14,8 @@ dlg = iup.dialog{box; title="Example IUPLUA/CDLUA"}
function cnv:map_cb()
local canvas = cd.CreateCanvas(cd.IUP, self)
- local dbuffer = cdCreateCanvas(cd.DBUFFER, canvas);
+ local dbuffer = cd.CreateCanvas(cd.DBUFFERRGB, canvas);
+-- local dbuffer = cd.CreateCanvas(cd.DBUFFER, canvas);
self.canvas = canvas -- store the CD canvas in a IUP attribute
self.dbuffer = dbuffer
end