[Openal] [openAl Soft] alGetString returning NULL pointer?

Miika Ahonen miika.ahonen at gmail.com
Sat May 17 04:05:02 PDT 2008


On Sat, May 17, 2008 at 1:09 PM, Andre Krause <post at andre-krause.net> wrote:
> currently, alGetString returns a null pointer if there is no valid context.
> wouldnt it be a better idea to always return a valid string, so for example
> an error message string that says something like "no valid context" or such?

That string would be unrelated to the actual error number you tried
fetching it for, so it would be wrong.

-- 
Miika Ahonen
miika.ahonen at gmail.com


More information about the Openal mailing list