summaryrefslogtreecommitdiff
path: root/html/examples/viewGL.wlua
diff options
context:
space:
mode:
authorscuri <scuri>2010-07-22 22:47:48 +0000
committerscuri <scuri>2010-07-22 22:47:48 +0000
commitc8e3c97357e0e3b551ef52e549717ba4efaffb8b (patch)
tree28a45023aa7afcc94db3ef5b8404194f7bf49c46 /html/examples/viewGL.wlua
parent34f4dcea9afc19dcaf929b0ef4170a6b6940ab42 (diff)
*** empty log message ***
Diffstat (limited to 'html/examples/viewGL.wlua')
-rw-r--r--html/examples/viewGL.wlua2
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