Changeset 3188 in orxonox.OLD for orxonox/trunk/importer
- Timestamp:
- Dec 15, 2004, 9:40:18 PM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/importer/array.cc
r3140 r3188 68 68 if (verbose >= 3) 69 69 printf ("Finalizing array. Length: %i\n", entryCount); 70 if ((array = (GLfloat*)malloc( entryCount* sizeof(GLfloat))) == NULL)71 //if ((array = new GLfloat [entryCount]) == NULL)70 // if ((array = (GLfloat*)malloc( entryCount* sizeof(GLfloat))) == NULL) 71 if ((array = new GLfloat [entryCount]) == NULL) 72 72 printf ("could not allocate %i data Blocks\n", entryCount); 73 73 Entry* walker = firstEntry;
Note: See TracChangeset
for help on using the changeset viewer.