From d7383b2c1f4e8d921b6e68d51a9575a6e14d5259 Mon Sep 17 00:00:00 2001 From: dec05eba Date: Thu, 4 Nov 2021 13:55:13 +0100 Subject: Fix clock restart returning incorrect time --- depends/mgl | 2 +- include/mglpp/window/Event.hpp | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/depends/mgl b/depends/mgl index 61279a1..7dd8b0c 160000 --- a/depends/mgl +++ b/depends/mgl @@ -1 +1 @@ -Subproject commit 61279a1947328df0b8004edebcbe405ab7b1c09e +Subproject commit 7dd8b0cc0561c5fa0c9096b79fb7f0647b3470b4 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; -- cgit v1.2.3