Changeset 3193 in orxonox.OLD for orxonox/trunk/src/array.cc
- Timestamp:
- Dec 16, 2004, 4:00:43 PM (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/array.cc
r3185 r3193 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.