--- deliantra/Deliantra-Client/DC.pm 2006/04/24 13:01:13 1.47 +++ deliantra/Deliantra-Client/DC.pm 2006/04/25 11:18:48 1.48 @@ -212,7 +212,7 @@ sub new_from_opengl { my ($class, $w, $h, $cb) = @_; - $class->new (w => $w, h => $h, render_cb => $cb) + $class->new (w => $w || 1, h => $h || 1, render_cb => $cb) } sub topot {