Re: alGetError() at start of program behavior differs between Windows and Linux

Eric Wing <[email protected]> Sun, 19 Jun 2011 12:56:52 -0700
Newsgroups gmane.comp.lib.openal
Message-ID <[email protected]>
On 6/18/11, Dan Kegel <[email protected]> wrote:
> What should the following program output?
>
> #include <stdio.h>
> #include <AL/al.h>
> int main(int argc, char **argv)
> {
>     printf("alGetError() returns %x\n", alGetError());
> }
>

FYI, in OpenGL land, calling glGetError() without a valid OpenGL
context may crash on platforms.

-Eric
-- 
Beginning iPhone Games Development
http://playcontrol.net/iphonegamebook/
_______________________________________________
Openal mailing list
[email protected]
http://opensource.creative.com/mailman/listinfo/openal