aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/TextureRender.cc12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/TextureRender.cc b/src/TextureRender.cc
index bae80bc..692984f 100644
--- a/src/TextureRender.cc
+++ b/src/TextureRender.cc
@@ -22,7 +22,7 @@
22// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 22// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
23// DEALINGS IN THE SOFTWARE. 23// DEALINGS IN THE SOFTWARE.
24 24
25// $Id: TextureRender.cc,v 1.5 2002/12/02 20:15:22 fluxgen Exp $ 25// $Id: TextureRender.cc,v 1.6 2002/12/09 23:43:50 fluxgen Exp $
26 26
27#include "TextureRender.hh" 27#include "TextureRender.hh"
28 28
@@ -79,9 +79,9 @@ TextureRender::TextureRender(BImageControl &imgctrl,
79 79
80 80
81TextureRender::~TextureRender() { 81TextureRender::~TextureRender() {
82 if (red) delete [] red; 82 delete [] red;
83 if (green) delete [] green; 83 delete [] green;
84 if (blue) delete [] blue; 84 delete [] blue;
85} 85}
86 86
87 87
@@ -640,8 +640,8 @@ XImage *TextureRender::renderXImage() {
640 fprintf(stderr, 640 fprintf(stderr,
641 i18n-> 641 i18n->
642 getMessage( 642 getMessage(
643 FBNLS::ImageSet, FBNLS::ImageUnsupVisual, 643 FBNLS::ImageSet, FBNLS::ImageUnsupVisual,
644 "BImage::renderXImage: unsupported visual\n")); 644 "BImage::renderXImage: unsupported visual\n"));
645 delete [] d; 645 delete [] d;
646 XDestroyImage(image); 646 XDestroyImage(image);
647 return (XImage *) 0; 647 return (XImage *) 0;