diff --git a/inc/hgl/io/event/WindowEvent.h b/inc/hgl/io/event/WindowEvent.h index e12a947..255b5ff 100644 --- a/inc/hgl/io/event/WindowEvent.h +++ b/inc/hgl/io/event/WindowEvent.h @@ -2,7 +2,6 @@ #define HGL_IO_WINDOW_EVENT_INCLUDE #include -#include namespace hgl { namespace io @@ -32,8 +31,6 @@ namespace hgl { WindowEventData *wed; - graph::ViewportInfo viewport_info; - public: WindowEvent():InputEvent(InputEventSource::Window){} @@ -58,7 +55,7 @@ namespace hgl public: - virtual void OnResize(uint w,uint h){viewport_info.Set(w,h);} + virtual void OnResize(uint w,uint h){} virtual void OnActive(bool){} virtual void OnClose (){} };//class WindowEvent:public InputEvent