summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorP. J. McDermott <pj@pehjota.net>2015-08-25 13:52:15 (EDT)
committer P. J. McDermott <pj@pehjota.net>2015-08-25 13:52:15 (EDT)
commitc732ce3d173daf53fdb82754e057f9eb7971c0f8 (patch)
tree4fe7788378efbb2c14ec4ef9d7622c6a88fe6e77
parentc024cd0128acf4faab48a355d81f09b3c1f9ebae (diff)
downloadoverworld-rpg-c732ce3d173daf53fdb82754e057f9eb7971c0f8.zip
overworld-rpg-c732ce3d173daf53fdb82754e057f9eb7971c0f8.tar.gz
overworld-rpg-c732ce3d173daf53fdb82754e057f9eb7971c0f8.tar.bz2
games/hello/init.lua: Use bouken.viewport.set_size
-rw-r--r--games/hello/init.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/games/hello/init.lua b/games/hello/init.lua
index de7e35b..41c8c91 100644
--- a/games/hello/init.lua
+++ b/games/hello/init.lua
@@ -2,7 +2,7 @@ require "posix"
function on_init()
print("Hello, world!");
- init_viewport(320, 240);
+ bouken.viewport.set_size(320, 240);
posix.sleep(2);
print("Goodbye, world!");
end