diff options
| author | Paul Buetow <paul@buetow.org> | 2011-08-05 19:41:45 +0000 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2011-08-05 19:41:45 +0000 |
| commit | 3689662798cb981cac02b6c6832cb60be910bca9 (patch) | |
| tree | 732be5f0d80b73ee2014097c9ea407a60193a65f /loadbars.pl | |
| parent | 8583193f94c8df3d0892a78b21efe816aa0e92a4 (diff) | |
Bugfix
Diffstat (limited to 'loadbars.pl')
| -rwxr-xr-x | loadbars.pl | 3 |
1 files changed, 2 insertions, 1 deletions
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}; |
