1 2 3 4 5 6 7 8 9
use super::*; impl Context { pub fn viewport(&self, x: Int, y: Int, width: SizeI, height: SizeI) { unsafe { gl::Viewport(x, y, width, height); } } }
1 2 3 4 5 6 7 8 9
use super::*; impl Context { pub fn viewport(&self, x: Int, y: Int, width: SizeI, height: SizeI) { unsafe { gl::Viewport(x, y, width, height); } } }