From 3689662798cb981cac02b6c6832cb60be910bca9 Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Fri, 5 Aug 2011 19:41:45 +0000 Subject: Bugfix --- loadbars.pl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'loadbars.pl') diff --git a/loadbars.pl b/loadbars.pl index 5dbc72f..cfbd0b6 100755 --- a/loadbars.pl +++ b/loadbars.pl @@ -56,7 +56,6 @@ use constant { NULL => 0, MSG_TOGGLE_TXT => 1, MSG_SET_FACTOR => 3, - FONT => SDL::Font->new('font.png'), BLACK => SDL::Color->new(-r => 0x00, -g => 0x00, -b => 0x00), BLUE => SDL::Color->new(-r => 0x00, -g => 0x00, -b => 0xff), GREEN => SDL::Color->new(-r => 0x00, -g => 0x90, -b => 0x00), @@ -243,6 +242,8 @@ sub thr_display_stats () { wait_for_stats; + SDL::Font->new('font.png')->use(); + my $num_stats = keys %CPUSTATS; my $factor = $CONF{factor}; -- cgit v1.2.3