summaryrefslogtreecommitdiffstats
path: root/perl-install/bootsplash.pm
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/bootsplash.pm')
-rw-r--r--perl-install/bootsplash.pm6
1 files changed, 1 insertions, 5 deletions
diff --git a/perl-install/bootsplash.pm b/perl-install/bootsplash.pm
index e657f6bf3..6507e46ef 100644
--- a/perl-install/bootsplash.pm
+++ b/perl-install/bootsplash.pm
@@ -3,10 +3,6 @@ package bootsplash;
use common;
use Xconfig::resolution_and_depth;
-use Exporter;
-our @ISA = qw(Exporter);
-our %EXPORT_TAGS = (drawing => [qw(rectangle2xywh xywh2rectangle distance farthest nearest)]);
-our @EXPORT_OK = map { @$_ } values %EXPORT_TAGS;
my $themes_dir = "/usr/share/bootsplash/themes";
my $themes_config_dir = "/etc/bootsplash/themes";
@@ -20,7 +16,7 @@ sub get_framebuffer_resolution() {
require bootloader;
require fsedit;
my $bootloader = bootloader::read(fsedit::get_hds());
- my $x_res = Xconfig::resolution_and_depth::from_bios($bootloader->{default_vga});
+ my $x_res = Xconfig::resolution_and_depth::from_bios($bootloader->{default_options}{vga});
$x_res ?
($x_res->{X} . 'x' . $x_res->{Y}, 1) :
(first(@resolutions), 0);