Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
quaternic committed Jul 1, 2024
1 parent 5141880 commit be25181
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions glutin/src/api/egl/device.rs
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,8 @@ impl Device {
// Or we can check for the EGL_EXT_device_base extension since it contains both
// extensions.
if !no_display_extensions.contains("EGL_EXT_device_base")
&& ( !no_display_extensions.contains("EGL_EXT_device_enumeration")
|| !no_display_extensions.contains("EGL_EXT_device_query"))
&& (!no_display_extensions.contains("EGL_EXT_device_enumeration")
|| !no_display_extensions.contains("EGL_EXT_device_query"))
{
return Err(ErrorKind::NotSupported("EGL does not support EGL_EXT_device_base").into());
}
Expand Down

0 comments on commit be25181

Please sign in to comment.