Don't enable GL_LINE_SMOOTH for AMD GPUs as a workround for lines and circles not being rendered correctly
use std::io::{ Error, ErrorKind };
use super::PhysFSContext;
pub fn physfs_error_as_io_error() -> Error {
Error::new(ErrorKind::Other,
&format!("PhysicsFS Error: `{}`", PhysFSContext::get_last_error())[..])
}