Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

AGL functions returning GL_FALSE but.....

I am calling several AGL functions. A few of them return GL_FALSE, but when I call aglGetError, it returns the error code AGL NOERROR. What gives??
The functions that are returning false are aglSetInteger, aglSetWindowRef, and aglEnable. Here is a sample of how I'm testing the return values.


if(GL_FALSE == aglSetCurrentContext(_aglContext))
{
GLenum glErr = aglGetError();
if(glErr != AGL NOERROR)
{
printf("aglSetCurrentContext failed at line %d with error code: %d\n", _LINE_, glErr);
}
else
{
printf("aglSetCurrentContext returned FALSE with error code %d at line %d\n", AGL NOERROR, _LINE_);
}

}


Any idears?

Various, Mac OS X (10.5.6)

Posted on Jul 13, 2009 4:10 PM

Reply

There are no replies.

AGL functions returning GL_FALSE but.....

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.