suppress some warnings

This commit is contained in:
ohyzha
2025-03-05 13:34:48 +02:00
parent efcee95158
commit c5a0c52530
21 changed files with 34 additions and 36 deletions

View File

@@ -67,7 +67,7 @@ namespace OpenVulkano
public:
[[nodiscard]] bool GetButton(const InputKey::Keyboard::Key button) const
{
return keyState[button] > 0;
return keyState[button];
}
[[nodiscard]] bool GetButtonUp(const InputKey::Keyboard::Key button) const