Skip to content

Commit 432f888

Browse files
committed
enable VSYNC by default (NB: only supported by Wayland at present)
1 parent 5bcda87 commit 432f888

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

Package.swift

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,6 @@ packageDependencies += [
234234
]
235235

236236
let FlutterELinuxBackend = FlutterELinuxBackendType.defaultBackend
237-
let FlutterELinuxVulkanEnabled = true
238237

239238
platformSwiftSettings += [
240239
.define("DISPLAY_BACKEND_TYPE_\(FlutterELinuxBackend.displayBackendType)"),
@@ -382,8 +381,7 @@ targets += [
382381
// USE_DIRTY_REGION_MANAGEMENT OFF
383382
// .define("USE_GLES3"),
384383
.define("ENABLE_EGL_ALPHA_COMPONENT_OF_COLOR_BUFFER"),
385-
// ENABLE_VSYNC OFF
386-
// .define("ENABLE_VSYNC"),
384+
.define("ENABLE_VSYNC"),
387385
.define("USE_LIBSYSTEMD"),
388386
// ENABLE_ELINUX_EMBEDDER_LOG ON
389387
.define("ENABLE_ELINUX_EMBEDDER_LOG"),

0 commit comments

Comments
 (0)