summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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