Several WGL cleanups

This commit is contained in:
Pierre Krieger 2015-05-22 11:54:28 +02:00
parent e5f888e19a
commit ead31e3ef8
2 changed files with 183 additions and 153 deletions

View file

@ -352,7 +352,7 @@ impl<'a> BuilderAttribs<'a> {
}
fn choose_pixel_format<T, I>(&self, iter: I) -> Result<(T, PixelFormat), CreationError>
where I: Iterator<Item=(T, PixelFormat)>, T: Clone
where I: IntoIterator<Item=(T, PixelFormat)>, T: Clone
{
let mut current_result = None;
let mut current_software_result = None;