[][src]Function glium::draw_parameters::validate

pub fn validate(
    context: &Context,
    params: &DrawParameters<'_>
) -> Result<(), DrawError>

DEPRECATED. Checks parameters and returns an error if something is wrong.