… | … | ||
---|---|---|---|
371 | $tw, $th, | 371 | $tw, $th, |
372 | 0; | 372 | 0; |
373 | CFClient::gl_check "copying to texture %dx%d if=%x", | 373 | CFClient::gl_check "copying to texture %dx%d if=%x", |
374 | $tw, $th, $self->{internalformat}; | 374 | $tw, $th, $self->{internalformat}; |
375 | } | 375 | } |
376 | |||
377 | glBindTexture GL_TEXTURE_2D, 0; # just to be on the safe side | ||
376 | } | 378 | } |
377 | 379 | ||
378 | sub DESTROY { | 380 | sub DESTROY { |
379 | my ($self) = @_; | 381 | my ($self) = @_; |
380 | 382 |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |