Function glium::draw_parameters::validate
[−]
[src]
pub fn validate(context: &Context, params: &DrawParameters) -> Result<(), DrawError>
DEPRECATED. Checks parameters and returns an error if something is wrong.