mirror of https://github.com/mosra/magnum.git
Browse Source
Doing it the same way as in Sdl2Application, as this doesn't have any performance impact (just alias for already present variable). The other way around, i.e. combining mouse buttons and keyboard modifiers in Sdl2Application, would have unnecessary performance penalty, as keyboard modifiers must be queried with separate function, even if they won't probably be used at all. Qt employs similar approach. The old way is preserved for backwards compatibility, but marked as deprecated and will be removed in future releases.pull/23/head
2 changed files with 90 additions and 6 deletions
Loading…
Reference in new issue