Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion nannou/src/app.rs
Original file line number Diff line number Diff line change
Expand Up @@ -431,7 +431,7 @@ where

/// Specify the set of preferred WGPU backends.
///
/// By default, this is `wgpu::Backends::PRIMARY`.
/// By default, this is `wgpu::Backends::PRIMARY | wgpu::Backends::GL`.
pub fn backends(mut self, backends: wgpu::Backends) -> Self {
self.backends = backends;
self
Expand Down
2 changes: 1 addition & 1 deletion nannou_wgpu/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ pub use wgpu_upstream::{
pub const DEFAULT_POWER_PREFERENCE: PowerPreference = PowerPreference::HighPerformance;

/// Nannou's default WGPU backend preferences.
pub const DEFAULT_BACKENDS: Backends = Backends::PRIMARY;
pub const DEFAULT_BACKENDS: Backends = Backends::PRIMARY.union(Backends::GL);

/// Create a wgpu shader module from the given slice of SPIR-V bytes.
#[cfg(feature = "spirv")]
Expand Down