Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Dec 27, 2007, 6:00:34 PM (17 years ago)
Author:
nicolasc
Message:

removed some deprecated alut stuff - plz test on windows

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/FICN/src/audio/AudioBuffer.cc

    r660 r702  
    3838                        loaded=AL_FALSE;
    3939
    40     //FIXME deprecated
    41                 alutLoadWAVFile((ALbyte*)fileName.c_str(), &format, &data, &size, &freq, &loop);
     40    //FIXME deprecated; seems unneeded
     41//              alutLoadWAVFile((ALbyte*)fileName.c_str(), &format, &data, &size, &freq, &loop);
    4242                alBufferData(buffer, format, data, size, freq);
    43     //FIXME deprecated
    44                 alutUnloadWAV(format, data, size, freq);
     43    //FIXME deprecated; seems unneeded
     44//              alutUnloadWAV(format, data, size, freq);
    4545
    4646                // Do another error check and return.
    4747                if(alGetError() != AL_NO_ERROR)
    4848                        loaded=AL_FALSE;
    49 
    50                 loaded=AL_TRUE;
     49    else
     50                  loaded=AL_TRUE;
    5151        }
    5252
Note: See TracChangeset for help on using the changeset viewer.