Daniele Bartolini 9 rokov pred
rodič
commit
bb96e3dc9f

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

@@ -6,12 +6,16 @@ boot_package = "boot"
 
 
 // Linux-only configs
 // Linux-only configs
 linux = {
 linux = {
-	window_width = 1280
-	window_height = 720
+	renderer = {
+		window_width  = 1280
+		window_height = 720
+	}
 }
 }
 
 
 // Windows-only configs
 // Windows-only configs
 windows = {
 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-only configs
 linux = {
 linux = {
-	window_width = 1280
-	window_height = 720
+	renderer = {
+		window_width  = 1280
+		window_height = 720
+		vsync = true
+	}
 }
 }
 
 
 // Windows-only configs
 // Windows-only configs
 windows = {
 windows = {
-	window_width = 1280
-	window_height = 720
+	renderer = {
+		window_width  = 1280
+		window_height = 720
+		vsync = true
+	}
 }
 }