diff --git a/demos/Delphi_FMX_Windows/FMXSkiaBrowser/FMXSkiaBrowser.dpr b/demos/Delphi_FMX_Windows/FMXSkiaBrowser/FMXSkiaBrowser.dpr index 43adb21b..7bd17e35 100644 --- a/demos/Delphi_FMX_Windows/FMXSkiaBrowser/FMXSkiaBrowser.dpr +++ b/demos/Delphi_FMX_Windows/FMXSkiaBrowser/FMXSkiaBrowser.dpr @@ -42,6 +42,7 @@ uses System.StartUpCopy, {$ENDIF } FMX.Forms, + FMX.Types, Skia.FMX, // This unit comes from the Skia4Delphi project uCEFApplication, uCEFFMXWorkScheduler, @@ -56,7 +57,9 @@ uses {$ENDIF} begin - // Enable Skia usage. + // Enable Skia usage. + GlobalUseMetal := True; + GlobalUseSkiaRasterWhenAvailable := False; GlobalUseSkia := True; // GlobalCEFApp creation and initialization moved to a different unit to fix the memory leak described in the bug #89 // https://github.com/salvadordf/CEF4Delphi/issues/89 diff --git a/update_CEF4Delphi.json b/update_CEF4Delphi.json index 61c526c4..2bf16967 100644 --- a/update_CEF4Delphi.json +++ b/update_CEF4Delphi.json @@ -2,7 +2,7 @@ "UpdateLazPackages" : [ { "ForceNotify" : true, - "InternalVersion" : 398, + "InternalVersion" : 399, "Name" : "cef4delphi_lazarus.lpk", "Version" : "102.0.9.0" }