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) + { + } }; /**