summaryrefslogtreecommitdiff
path: root/Games/Snake/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Games/Snake/main.cpp')
-rw-r--r--Games/Snake/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Games/Snake/main.cpp b/Games/Snake/main.cpp
index 6abc482e66..31c6fcf94a 100644
--- a/Games/Snake/main.cpp
+++ b/Games/Snake/main.cpp
@@ -53,7 +53,7 @@ int main(int argc, char** argv)
window->set_double_buffering_enabled(false);
window->set_title("Snake");
- window->set_rect(100, 100, 320, 320);
+ window->resize(320, 320);
auto& game = window->set_main_widget<SnakeGame>();