Skip to content
This repository has been archived by the owner on Oct 29, 2024. It is now read-only.

Commit

Permalink
attempt to satisfy clang-format
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidRGriswold committed Jul 18, 2024
1 parent 4e5ba66 commit 2483702
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions src/common/settings.h
Original file line number Diff line number Diff line change
Expand Up @@ -204,8 +204,8 @@ class Setting {
explicit Setting(const Type& default_val, const Type& min_val, const Type& max_val,
const std::string& name)
requires(ranged)
: value{default_val}, default_value{default_val}, maximum{max_val}, minimum{min_val},
label{name} {}
: value{default_val},
default_value{default_val}, maximum{max_val}, minimum{min_val}, label{name} {}

/**
* Returns a reference to the setting's value.
Expand Down Expand Up @@ -450,7 +450,7 @@ struct Values {
Setting<bool> allow_plugin_loader{true, "allow_plugin_loader"};

// Renderer
SwitchableSetting<GraphicsAPI, true> graphics_api{
SwitchableSetting<GraphicsAPI, true> graphics_api {
#if defined(ENABLE_OPENGL)
GraphicsAPI::OpenGL,
#elif defined(ENABLE_VULKAN)
Expand All @@ -461,7 +461,8 @@ struct Values {
// TODO: Add a null renderer backend for this, perhaps.
#error "At least one renderer must be enabled."
#endif
GraphicsAPI::Software, GraphicsAPI::Vulkan, "graphics_api"};
GraphicsAPI::Software, GraphicsAPI::Vulkan, "graphics_api"
};
SwitchableSetting<u32> physical_device{0, "physical_device"};
Setting<bool> use_gles{false, "use_gles"};
Setting<bool> renderer_debug{false, "renderer_debug"};
Expand Down

0 comments on commit 2483702

Please sign in to comment.