Function gfx_window_glutin::update_views_raw
source · pub fn update_views_raw(
window: &GlWindow,
old_dimensions: Dimensions,
color_format: Format,
ds_format: Format
) -> Option<(RawRenderTargetView<R>, RawDepthStencilView<R>)>
Expand description
Return new main target views if the window resolution has changed from the old dimensions.