fix linux: desabilita impeller para evitar tela preta em gpu hibrida intel/nvidia

This commit is contained in:
2026-09-27 17:30:42 -03:00
parent 9fce19dab2
commit d13f35e045

View File

@@ -64,6 +64,8 @@ static void my_application_activate(GApplication* application) {
g_autoptr(FlDartProject) project = fl_dart_project_new(); g_autoptr(FlDartProject) project = fl_dart_project_new();
fl_dart_project_set_dart_entrypoint_arguments(project, self->dart_entrypoint_arguments); fl_dart_project_set_dart_entrypoint_arguments(project, self->dart_entrypoint_arguments);
// Disable Impeller to avoid a black screen on hybrid Intel/NVIDIA GPUs.
fl_dart_project_set_enable_impeller(project, FALSE);
FlView* view = fl_view_new(project); FlView* view = fl_view_new(project);
gtk_container_add(GTK_CONTAINER(window), GTK_WIDGET(view)); gtk_container_add(GTK_CONTAINER(window), GTK_WIDGET(view));