Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 6076 in orxonox.OLD for trunk/src/lib


Ignore:
Timestamp:
Dec 13, 2005, 2:52:50 AM (19 years ago)
Author:
bensch
Message:

orxonox/trunk: sound_engine compiles better now (also for non AL-1.1)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/lib/sound/sound_engine.cc

    r6074 r6076  
    290290  // INITIALIZING THE DEVICE:
    291291
    292 #ifndef AL_VERSION_1_1
    293   ALubyte deviceName[] =
    294 #else
     292#ifdef AL_VERSION_1_1
    295293  ALCchar deviceName[] =
    296 #endif
    297294
    298295#ifdef __WIN32__
     
    307304
    308305  alcMakeContextCurrent(this->context);
     306#else
     307  alutInit(0, NULL);
     308#endif
    309309
    310310  if ((result = alGetError()) != AL_NO_ERROR)
Note: See TracChangeset for help on using the changeset viewer.