1 #ifndef OPENGL_MEMORY_H
2 #define OPENGL_MEMORY_H
4 #include <OpenGl_tgl_all.hxx>
6 template <class XType> XType *cmn_resizemem( XType *ptr, Tint size )
10 ptr = (XType*)realloc( ptr, size );
13 fprintf(stderr, "Could not reallocate '%d'\
14 bytes of memory.\n", size);
20 #endif //OPENGL_MEMORY_H