From 8e3d418f7a1f10840fcd88ea5ed77fb50dd77215 Mon Sep 17 00:00:00 2001 From: Nomango Date: Wed, 24 Jun 2020 18:38:15 +0800 Subject: [PATCH] minor fixes --- src/kiwano/platform/Window.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/kiwano/platform/Window.h b/src/kiwano/platform/Window.h index daec4663..af1f4422 100644 --- a/src/kiwano/platform/Window.h +++ b/src/kiwano/platform/Window.h @@ -55,6 +55,8 @@ struct Resolution uint32_t height = 0; ///< 分辨率高度 uint32_t refresh_rate = 0; ///< 刷新率 + Resolution() = default; + Resolution(uint32_t width, uint32_t height, uint32_t refresh_rate) : width(width) , height(height)