--- deliantra/Deliantra-Client/DC/UI.pm 2006/04/14 14:55:28 1.105 +++ deliantra/Deliantra-Client/DC/UI.pm 2006/04/14 15:14:25 1.106 @@ -735,6 +735,9 @@ $ws->[$_] += $col_expand[$_] / $col_expand * ($w - $req_w) for 0 .. $#$ws; $hs->[$_] *= 1 * $h / $req_h for 0 .. $#$hs; + $_ = int $_ for @$ws; #TODO: avoid rounding problems + $_ = int $_ for @$hs; #TODO: avoid rounding problems + my $y; for my $r (0 .. $#{$self->{children}}) { @@ -1595,6 +1598,8 @@ glDisable GL_TEXTURE_2D; } + $self->{children}[1]->draw; + } #############################################################################