Skip to content

Commit

Permalink
example showcase: switch default api to webgpu (#9193)
Browse files Browse the repository at this point in the history
# Objective

- in #9168 I did some change to the showcase script, introducing the
notion of web api and setting the default Web API to webgl2
- that script was actually only called for webgpu example, so that
should have been the default value
  • Loading branch information
mockersf authored Jul 18, 2023
1 parent ff89968 commit 7fe0853
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/example-showcase/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ enum Action {
/// Path to the folder where the content should be created
content_folder: String,

#[arg(value_enum, long, default_value_t = WebApi::Webgl2)]
#[arg(value_enum, long, default_value_t = WebApi::Webgpu)]
/// Which API to use for rendering
api: WebApi,
},
Expand Down

0 comments on commit 7fe0853

Please sign in to comment.