fix linux: desabilita impeller para evitar tela preta em gpu hibrida intel/nvidia
This commit is contained in:
@@ -64,6 +64,8 @@ static void my_application_activate(GApplication* application) {
|
||||
|
||||
g_autoptr(FlDartProject) project = fl_dart_project_new();
|
||||
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);
|
||||
gtk_container_add(GTK_CONTAINER(window), GTK_WIDGET(view));
|
||||
|
||||
Reference in New Issue
Block a user