Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 5283 in orxonox.OLD for trunk/src/lib/graphics


Ignore:
Timestamp:
Oct 4, 2005, 9:37:27 PM (19 years ago)
Author:
bensch
Message:

orxonox/trunk: compile (but not link) on mac

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/lib/graphics/shader.cc

    r5273 r5283  
    197197  if (infologLength > 0)
    198198  {
    199     infoLog = (char *)malloc(sizeof(char) * (infologLength+1));
     199    infoLog = new char[infologLength+1];
    200200    glGetInfoLogARB(program, infologLength, &charsWritten, infoLog);
    201201    printf("%s\n", infoLog);
    202     free(infoLog);
     202    delete[] infoLog;
    203203  }
    204204}
Note: See TracChangeset for help on using the changeset viewer.