diff options
Diffstat (limited to 'iup/srclua5/il_glcanvas.c')
-rwxr-xr-x | iup/srclua5/il_glcanvas.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/iup/srclua5/il_glcanvas.c b/iup/srclua5/il_glcanvas.c index 2100dd3..27f7277 100755 --- a/iup/srclua5/il_glcanvas.c +++ b/iup/srclua5/il_glcanvas.c @@ -49,9 +49,8 @@ int iupgllua_open(lua_State * L) if (iuplua_opencall_internal(L)) IupGLCanvasOpen(); - iuplua_changeEnv(L); + iuplua_get_env(L); iupglcanvaslua_open(L); - iuplua_returnEnv(L); return 0; } |