--- deliantra/Deliantra-Client/DC.pm 2006/04/11 13:14:36 1.22 +++ deliantra/Deliantra-Client/DC.pm 2006/04/11 17:02:35 1.23 @@ -191,7 +191,7 @@ my ($tw, $th) = @$self{qw(width height)}; - unless ($GL_NPOT) { + unless ($GL_NPOT && $tw && $th) { $tw = topot $tw; $th = topot $th;