diff options
author | dec05eba <dec05eba@protonmail.com> | 2021-11-04 13:55:13 +0100 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2021-11-04 13:55:13 +0100 |
commit | d7383b2c1f4e8d921b6e68d51a9575a6e14d5259 (patch) | |
tree | 34de849e205f0d046eef1030dfee6e2ca3bb0433 | |
parent | 1c9ebd15bb0ada387038b7278226a557d0de92ad (diff) |
Fix clock restart returning incorrect time
m--------- | depends/mgl | 0 | ||||
-rw-r--r-- | include/mglpp/window/Event.hpp | 4 |
2 files changed, 2 insertions, 2 deletions
diff --git a/depends/mgl b/depends/mgl -Subproject 61279a1947328df0b8004edebcbe405ab7b1c09 +Subproject 7dd8b0cc0561c5fa0c9096b79fb7f0647b3470b diff --git a/include/mglpp/window/Event.hpp b/include/mglpp/window/Event.hpp index 4c99379..c073251 100644 --- a/include/mglpp/window/Event.hpp +++ b/include/mglpp/window/Event.hpp @@ -34,7 +34,7 @@ namespace mgl { int y; /* relative to top of the window */ }; - enum EventType : int { + enum Type : int { Unknown, Resized, KeyPressed, @@ -44,7 +44,7 @@ namespace mgl { MouseMoved }; - EventType type; + Type type; union { SizeEvent size; |