Daniele Bartolini 9 лет назад
Родитель
Сommit
bb96e3dc9f
2 измененных файлов с 18 добавлено и 8 удалено
  1. 8 4
      samples/00-hello-world/boot.config
  2. 10 4
      samples/01-physics/boot.config

+ 8 - 4
samples/00-hello-world/boot.config

@@ -6,12 +6,16 @@ boot_package = "boot"
 
 // Linux-only configs
 linux = {
-	window_width = 1280
-	window_height = 720
+	renderer = {
+		window_width  = 1280
+		window_height = 720
+	}
 }
 
 // Windows-only configs
 windows = {
-	window_width = 1280
-	window_height = 720
+	renderer = {
+		window_width  = 1280
+		window_height = 720
+	}
 }

+ 10 - 4
samples/01-physics/boot.config

@@ -6,12 +6,18 @@ boot_package = "boot"
 
 // Linux-only configs
 linux = {
-	window_width = 1280
-	window_height = 720
+	renderer = {
+		window_width  = 1280
+		window_height = 720
+		vsync = true
+	}
 }
 
 // Windows-only configs
 windows = {
-	window_width = 1280
-	window_height = 720
+	renderer = {
+		window_width  = 1280
+		window_height = 720
+		vsync = true
+	}
 }