Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

ARB_multisample



Specifying "AGL_SAMPLE_BUFFERS_ARB, 1" in my pixel format causes aglCreateContext to fail with "AGL invalid pixel format".

Radeon 7600 mobility, 10.2.3
I'm not specifying NO_RECOVERY.
aglChoosePixelFormat returns a format without complaint.
Yes, GL_ARB_multisample appears in my extensions string.

Why would this be happening?

GLint attrib[] = { AGL_RGBA, AGL_DEPTH_SIZE, 32, AGL_DOUBLEBUFFER,
AGL_SAMPLE_BUFFERS_ARB, 1,
// AGL_SAMPLES_ARB, 2, <- uncommenting/changing has no effect
AGL_NONE };
fmt = aglChoosePixelFormat (NULL, 0, attrib);
CheckErrors(); // checks for agl/gl errors... no errors
ensure (fmt != NULL); // ok
ctx = aglCreateContext (fmt, NULL);
CheckErrors(); // gets AGL invalid pixel format
ensure (ctx != NULL); // fails

Thanks,
Dan
_______________________________________________
mac-opengl mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/mac-opengl
Do not post admin requests to the list. They will be ignored.



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.