[Openal] Why do I need alut?
bpazolli
bpazolli at gmail.com
Sat May 9 23:05:17 PDT 2009
> You can replace alutInit in your
> code with this:
>
> ALCdevice *device = alcOpenDevice(NULL);
> ALCcontext *context = alcCreateContext(device, NULL);
> alcMakeContextCurrent(context);
>
> And you can replace alutExit with this:
>
> ALCcontext *context = alcGetCurrentContext();
> ALCdevice *device = alcGetContextsDevice(context);
> alcDestroyContext(context);
> alcCloseDevice(device);
>
Thank you very much. I got it to work just like I wanted it to.
Thank You,
Ben Pazolli
--
View this message in context: http://www.nabble.com/Why-do-I-need-alut--tp23466322p23467382.html
Sent from the OpenAL - User mailing list archive at Nabble.com.
More information about the Openal
mailing list