Skip to content
Snippets Groups Projects
Commit 039e83d0 authored by dg's avatar dg
Browse files

oups

git-svn-id: http://svn.net-core.org/repos/t-engine4@4253 51575b47-30f0-44d4-a5cc-537603b46e54
parent 13d2e7f6
No related branches found
No related tags found
No related merge requests found
...@@ -1652,7 +1652,6 @@ static int sdl_set_window_size(lua_State *L) ...@@ -1652,7 +1652,6 @@ static int sdl_set_window_size(lua_State *L)
bool fullscreen = lua_toboolean(L, 3); bool fullscreen = lua_toboolean(L, 3);
printf("Setting resolution to %dx%d (%s)\n", w, h, fullscreen ? "fullscreen" : "windowed"); printf("Setting resolution to %dx%d (%s)\n", w, h, fullscreen ? "fullscreen" : "windowed");
if (!fullscreen) {lua_pushstring(L, "plop") ;lua_error(L); }
do_resize(w, h, fullscreen); do_resize(w, h, fullscreen);
lua_pushboolean(L, TRUE); lua_pushboolean(L, TRUE);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment