rust/lib-hedgewars-engine/src/instance.rs
changeset 14725 12db7e435ea6
parent 14723 29dbe9ce8b7d
child 14726 19122a329774
--- a/rust/lib-hedgewars-engine/src/instance.rs	Fri Mar 22 19:09:28 2019 +0300
+++ b/rust/lib-hedgewars-engine/src/instance.rs	Fri Mar 22 20:01:47 2019 +0300
@@ -38,8 +38,8 @@
         }
     }
 
-    pub fn render(&mut self, x: f32, y: f32, w: f32, h: f32) {
-        self.world.render(x, y, w, h);
+    pub fn render(&mut self) {
+        self.world.render();
     }
 
     fn process_unordered_message(&mut self, message: &UnorderedEngineMessage) {