Skip to content

Commit

Permalink
[misc] fixed a typo
Browse files Browse the repository at this point in the history
  • Loading branch information
PanosK92 committed Feb 4, 2025
1 parent e08cb81 commit 2e5f8db
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion runtime/RHI/RHI_PhysicalDevice.h
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ namespace spartan
name.find("qualcomm") != std::string::npos;
}

bool IsBelowMinimumRequirments()
bool IsBelowMinimumRequirements()
{
// minimum requirements
const uint32_t min_memory_mb = 4096; // minimum memory in MB, 4GB in this case
Expand Down
2 changes: 1 addition & 1 deletion runtime/RHI/Vulkan/Vulkan_Device.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1454,7 +1454,7 @@ namespace spartan
SP_ASSERT_MSG(GetPrimaryPhysicalDevice()->IsAmd(), "Breadcrumbs are only supported on AMD GPUs");
}

if (RHI_Device::GetPrimaryPhysicalDevice()->IsBelowMinimumRequirments())
if (RHI_Device::GetPrimaryPhysicalDevice()->IsBelowMinimumRequirements())
{
SP_WARNING_WINDOW("The GPU does not meet the minimum requirements for running the engine. The engine may not function correctly.");
}
Expand Down
2 changes: 1 addition & 1 deletion runtime/Rendering/Renderer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ namespace spartan

// options
{
bool low_quality = RHI_Device::GetPrimaryPhysicalDevice()->IsBelowMinimumRequirments();
bool low_quality = RHI_Device::GetPrimaryPhysicalDevice()->IsBelowMinimumRequirements();

m_options.clear();
SetOption(Renderer_Option::WhitePoint, 350.0f);
Expand Down

0 comments on commit 2e5f8db

Please sign in to comment.