From 9d51b1c6692efc8e8ef539f51bf560ed0301a91a Mon Sep 17 00:00:00 2001 From: Nomango Date: Wed, 24 Jun 2020 18:35:16 +0800 Subject: [PATCH] minor fixes --- src/kiwano/platform/Window.h | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/kiwano/platform/Window.h b/src/kiwano/platform/Window.h index f8845f6a..daec4663 100644 --- a/src/kiwano/platform/Window.h +++ b/src/kiwano/platform/Window.h @@ -54,6 +54,13 @@ struct Resolution uint32_t width = 0; ///< 分辨率宽度 uint32_t height = 0; ///< 分辨率高度 uint32_t refresh_rate = 0; ///< 刷新率 + + Resolution(uint32_t width, uint32_t height, uint32_t refresh_rate) + : width(width) + , height(height) + , refresh_rate(refresh_rate) + { + } }; /**