Changeset 5283 in orxonox.OLD for trunk/src/lib/graphics
- Timestamp:
- Oct 4, 2005, 9:37:27 PM (19 years ago)
- File:
-
- 1 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 }
Note: See TracChangeset
for help on using the changeset viewer.