[Gridflow-cvs] [svn] commit: r6626 - /trunk/src/gem.cxx

svn-gridflow at artengine.ca svn-gridflow at artengine.ca
Sat Feb 19 16:56:01 EST 2011


Author: matju
Date: Sat Feb 19 16:56:01 2011
New Revision: 6626

Log:
use virtual destructor for imageStruct93

Modified:
    trunk/src/gem.cxx

Modified: trunk/src/gem.cxx
==============================================================================
--- trunk/src/gem.cxx (original)
+++ trunk/src/gem.cxx Sat Feb 19 16:56:01 2011
@@ -29,7 +29,7 @@
 struct imageStruct {
   GLint xsize, ysize, csize; GLenum type, format; int notowned;
   unsigned char *data; unsigned char *pdata; size_t datasize; GLboolean upsidedown;
-  virtual void clear(); imageStruct(); ~imageStruct();
+  virtual void clear(); imageStruct(); virtual ~imageStruct();
   unsigned char *allocate(size_t size); unsigned char *allocate();
   virtual void convertFrom(imageStruct*from, GLenum dest_format=0);
   virtual void convertTo  (imageStruct*from, GLenum dest_format=0);



More information about the Gridflow-cvs mailing list