Am Montag, 1. Januar 2007 13:52 schrieb Per Inge Mathisen:
> On 1/1/07, Dennis Schridde <[EMAIL PROTECTED]> wrote:
> > This patch has a problem:
> > #define AL_INVALID                                (-1)
> >
> > My recommendation is to change psSample->iSample to signed...
>
> Although alGenSources() expects an ALuint. I think both this and
> similar OpenGL code that uses -1 for invalid value is just plain wrong
> - ~0 or -1 should be a perfectly valid value for both OpenGL textures
> and OpenAL sources.
Could you explain what you mean with that?
Do you mean they should have used ~0 or (ALuint)(-1) instead?
Sorry, I don't get the point...

--Dennis

Attachment: pgpBpqhQbKko1.pgp
Description: PGP signature

_______________________________________________
Warzone-dev mailing list
Warzone-dev@gna.org
https://mail.gna.org/listinfo/warzone-dev

Reply via email to