aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2021-11-04 13:55:13 +0100
committerdec05eba <dec05eba@protonmail.com>2021-11-04 13:55:13 +0100
commitd7383b2c1f4e8d921b6e68d51a9575a6e14d5259 (patch)
tree34de849e205f0d046eef1030dfee6e2ca3bb0433 /include
parent1c9ebd15bb0ada387038b7278226a557d0de92ad (diff)
Fix clock restart returning incorrect time
Diffstat (limited to 'include')
-rw-r--r--include/mglpp/window/Event.hpp4
1 files changed, 2 insertions, 2 deletions
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;