Revert "- Favour value initialisation in GameInput::Clear() instead of a memset()."

This reverts commit 59acdde9c9.

Apparently this can generate terrible code with MSVC for some reason.
This commit is contained in:
Mitchell Richters 2023-09-29 08:31:03 +10:00
parent f8ee893529
commit 092d8e7937

View file

@ -70,7 +70,7 @@ public:
// Clear all values within this object.
void Clear()
{
*this = {};
memset(this, 0, sizeof(*this));
}
// Receives mouse input from OS for processing.