commit | 9250db0c28ff8f84e61b6da7467aac9d782bd201 | [log] [tgz] |
---|---|---|
author | Sam Lantinga <slouken@libsdl.org> | Mon Aug 10 08:42:35 2020 -0700 |
committer | Sam Lantinga <slouken@libsdl.org> | Mon Aug 10 08:42:35 2020 -0700 |
tree | 921c5c8198392680676b82aecf8534f51acdad2e | |
parent | 3d32920f20d78dcf17a9c8927c16a3199a4e118c [diff] |
Fixed bug 5242 - KMOD_* flags unnecessarily macros; breaks OGRE Rainer Deyke While most of the KMOD_* flags are enums, the combination flags KMOD_CTRL, KMOD_ALT, KMOD_SHIFT and KMOD_GUI are defined as macros. This breaks third-party code that uses these KMOD_* names for local identifiers, such as OGRE. The correct thing to do is to make them all enums.