Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 5283 in orxonox.OLD


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

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

Location:
trunk/src/lib
Files:
2 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}
  • trunk/src/lib/sound/ogg_player.cc

    r5282 r5283  
    1919*/
    2020
     21#include <iostream>
     22
    2123#include "ogg_player.h"
    2224
     
    2426
    2527#include "debug.h"
    26 
    27 #include <iostream>
    28 
    2928
    3029/**
Note: See TracChangeset for help on using the changeset viewer.