diff options
Diffstat (limited to 'html/examples/viewGL.wlua')
-rw-r--r-- | html/examples/viewGL.wlua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/html/examples/viewGL.wlua b/html/examples/viewGL.wlua index f5ce58a..a5b2ebb 100644 --- a/html/examples/viewGL.wlua +++ b/html/examples/viewGL.wlua @@ -71,6 +71,6 @@ dlg = iup.dialog{cnv; title="LuaGL/IUP/IM Loader"} dlg:show() cnv.rastersize = nil -- reset minimum limitation -if (not iup.MainLoopLevel or iup.MainLoopLevel()==0) then +if (iup.MainLoopLevel()==0) then iup.MainLoop() end |