… | … | ||
---|---|---|---|
2483 | } | 2483 | } |
2484 | 2484 | ||
2485 | sub _draw { | 2485 | sub _draw { |
2486 | my ($self) = @_; | 2486 | my ($self) = @_; |
2487 | 2487 | ||
2488 | return unless $::CONN;#d# manage and cache textures differently | ||
2488 | my $tex = $::CONN->{texture}[$::CONN->{faceid}[$self->{face}]]; | 2489 | my $tex = $::CONN->{texture}[$::CONN->{faceid}[$self->{face}]]; |
2489 | 2490 | ||
2490 | # TODO animation | 2491 | # TODO animation |
2491 | if ($tex) { | 2492 | if ($tex) { |
2492 | glEnable GL_BLEND; | 2493 | glEnable GL_BLEND; |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |