Skip to content

Commit 5cedf58

Browse files
committed
fix lint
1 parent 496b9a6 commit 5cedf58

2 files changed

Lines changed: 5 additions & 2 deletions

File tree

src/ruisapp/glue/ios/glue.mm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ @interface ViewController : GLKViewController{
8383
@end
8484

8585
namespace{
86-
window_params windowParams(0);
86+
window_params windowParams;
8787

8888
struct WindowWrapper : public utki::destructable{
8989
UIWindow *window;

src/ruisapp/window.hpp

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,10 +61,13 @@ enum class buffer {
6161
* @brief Desired window parameters.
6262
*/
6363
struct window_params {
64+
constexpr const static auto default_window_width = 300;
65+
constexpr const static auto default_window_height = 150;
66+
6467
/**
6568
* @brief Desired dimensions of the window
6669
*/
67-
r4::vector2<unsigned> dims = {300, 150};
70+
r4::vector2<unsigned> dims = {default_window_width, default_window_height};
6871

6972
/**
7073
* @brief Window title.

0 commit comments

Comments
 (0)