OpenGL + OpenAL

Started by
2 comments, last by Yonibear 17 years, 2 months ago
I have a problem with openal. Always when i merge OpenAL code to my OpenGL code it stops rendering OpenGL. I can hear only sound playing, nothing rendered to screen. Is there any tutorial about mixing OpenAL & OpenGL? Solutions?
Advertisement
OpenAL and OpenGL have no interoperability issues. They are two different APIs used for different purposes. There must be some other problem with your code.

AFAIK, there is an example in the OpenAL SDK that uses OpenGL for rendering a simple scene.
++ My::Game ++
I use opengl and openal in all my games with no problems.
www.3drock.co.uk - first two games on the page are gl+al
You must have a bug !
OpenAL samples may work with an endless loop to give OpenAL some time to play your sounds. If you combine an OpenGL and an OpenAL sample without removing the OpenAL loop, of course OpenGL doesn't work simply because it's not executed.

This topic is closed to new replies.

Advertisement