--- deliantra/Deliantra-Client/DC.pm 2006/04/18 01:36:12 1.39 +++ deliantra/Deliantra-Client/DC.pm 2006/04/18 01:51:06 1.40 @@ -267,6 +267,8 @@ $self->{s} = $self->{w} / $tw; $self->{t} = $self->{h} / $th; + glGetError; + $self->{name} ||= (glGenTextures 1)->[0]; glBindTexture GL_TEXTURE_2D, $self->{name};