[SDL] SDL opengl stopped working
jimmy.karlsson at nempo.net
Sat Nov 29 04:00:00 PST 2003
On Tue, Nov 11, 2003 at 03:04:21PM +0800, ttwu at itri.org.tw wrote:
> code 1 WORKED well but Code 2 DIDN'T. I dont understend what's the
> in documentation it says the callback function is a seperate running
> but in code 2 the thread seems not running at all.
> and, why the while (audio_len>0) loop needed in the code 1 ?
I've followed too the example with code 2 and it didn't work.
I hadded an SDL_PauseAudio(0); at the bottom of code 2 and before calling
PlaySound I "initialized" the audio with SDL_OpenAudio.
Then it worked.
More information about the SDL