MCPcopy Create free account
hub / github.com/AdRoll/rustenstein / present

Method present

src/main.rs:301–305  ·  view source on GitHub ↗
(&self, window: &mut Window)

Source from the content-addressed store, hash-verified

299 }
300
301 pub fn present(&self, window: &mut Window) {
302 window
303 .update_with_buffer(&self.buffer, self.width as usize, self.height as usize)
304 .unwrap();
305 }
306
307 pub fn draw_texture(&mut self, shift_x: u32, shift_y: u32, pic: &Picture) {
308 let mut scj = 0;

Callers 2

mainFunction · 0.80
show_titleFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected