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

svn-gridflow at artengine.ca svn-gridflow at artengine.ca
Thu Jul 29 22:48:32 EDT 2010


Author: matju
Date: Thu Jul 29 22:48:31 2010
New Revision: 5864

Log:
fixed recent [gemdead] [#to_pix] [#from_pix] crashes

Modified:
    trunk/src/gem.cxx

Modified: trunk/src/gem.cxx
==============================================================================
--- trunk/src/gem.cxx (original)
+++ trunk/src/gem.cxx Thu Jul 29 22:48:31 2010
@@ -30,6 +30,7 @@
   unsigned char *data; unsigned char *pdata; size_t datasize; GLboolean upsidedown;
   virtual void clear(); imageStruct(); ~imageStruct();
   unsigned char *allocate(size_t size); unsigned char *allocate();
+  char trabant[666];
 };
 #else // older
 struct imageStruct {
@@ -37,18 +38,19 @@
   unsigned char *data; unsigned char *pdata; size_t datasize; GLboolean upsidedown;
   void clear(); imageStruct(); ~imageStruct();
   unsigned char *allocate(size_t size); unsigned char *allocate();
+  char trabant[666];
 };
 #endif
 struct pixBlock {imageStruct image; int newimage, newfilm; pixBlock(){newimage=newfilm=0;}};
 #ifdef IMAGESTRUCT93 // except Gem93 older than 25 mai 2010
 struct GemState {
   bool dirty, inDisplayList, lighting, smooth; int texture; pixBlock *image;
-  GemState(); virtual ~GemState(); void reset();
+  GemState(); virtual ~GemState(); void reset(); char trabant[666];
 };
 #else // older
 struct GemState {
   int dirty, inDisplayList, lighting, smooth, texture; pixBlock *image;
-  GemState(); ~GemState(); void reset();
+  GemState(); ~GemState(); void reset(); char trabant[666];
 };
 #endif
 



More information about the Gridflow-cvs mailing list