Changeset 5283 in orxonox.OLD for trunk/src/lib
- Timestamp:
- Oct 4, 2005, 9:37:27 PM (19 years ago)
- Location:
- trunk/src/lib
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/lib/graphics/shader.cc
r5273 r5283 197 197 if (infologLength > 0) 198 198 { 199 infoLog = (char *)malloc(sizeof(char) * (infologLength+1));199 infoLog = new char[infologLength+1]; 200 200 glGetInfoLogARB(program, infologLength, &charsWritten, infoLog); 201 201 printf("%s\n", infoLog); 202 free(infoLog);202 delete[] infoLog; 203 203 } 204 204 } -
trunk/src/lib/sound/ogg_player.cc
r5282 r5283 19 19 */ 20 20 21 #include <iostream> 22 21 23 #include "ogg_player.h" 22 24 … … 24 26 25 27 #include "debug.h" 26 27 #include <iostream>28 29 28 30 29 /**
Note: See TracChangeset
for help on using the changeset viewer.