Function canvas::webgl_thread::clamp_viewport

source ยท
fn clamp_viewport(gl: &Context, size: Size2D<u32>) -> Size2D<u32>