Daniele Bartolini 10 роки тому
батько
коміт
dbe30eb35b
1 змінених файлів з 4 додано та 4 видалено
  1. 4 4
      src/main/main_windows.cpp

+ 4 - 4
src/main/main_windows.cpp

@@ -328,10 +328,10 @@ struct WindowsDevice
 		_hwnd = CreateWindowA("crown"
 			, "Crown"
 			, WS_OVERLAPPEDWINDOW | WS_VISIBLE
-			, opts->window_x()
-			, opts->window_y()
-			, opts->window_width()
-			, opts->window_height()
+			, opts->_window_x
+			, opts->_window_y
+			, opts->_window_width
+			, opts->_window_height
 			, 0
 			, NULL
 			, instance