Several WGL cleanups
This commit is contained in:
parent
e5f888e19a
commit
ead31e3ef8
2 changed files with 183 additions and 153 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue