Function ggez::graphics::set_drawable_size [−][src]
pub fn set_drawable_size(
context: &mut Context,
width: f32,
height: f32
) -> GameResult
Expand description
Sets the window size (in physical pixels) / resolution to the specified width and height.
Note: These dimensions are only interpreted as resolutions in true fullscreen mode. If the selected resolution is not supported this function will return an Error.