minor fixes

This commit is contained in:
Nomango 2020-06-24 18:38:15 +08:00
parent 9d51b1c669
commit 8e3d418f7a
1 changed files with 2 additions and 0 deletions

View File

@ -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)