Fix missing parameter for pixel formats infos on win32

This commit is contained in:
Pierre Krieger 2015-04-02 13:53:15 +02:00
parent 2e1fe8283f
commit 4d81cc2df1
3 changed files with 16 additions and 6 deletions

View file

@ -332,10 +332,6 @@ impl<'a> BuilderAttribs<'a> {
continue;
}
if self.multisampling.is_some() && format.multisampling.is_none() {
continue;
}
current_software_result = Some((id.clone(), format.clone()));
if format.hardware_accelerated {
current_result = Some((id, format));