diff options
Diffstat (limited to 'html/examples')
-rw-r--r-- | html/examples/iup_dbuffer.wlua | 3 |
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 |