View Single Post
Old 11-13-07, 05:38 PM   #3
Registered User
Join Date: May 2003
Location: flat, steamy Champaign, IL
Posts: 36
Default Re: Segmentation Fault in glGetString() with Dual-Video Cards

glGetString() might segfault in good faith if there were no active GLX context, say.

For example, before the window was created, or (depending on toolkit) if you call it outside of the display-callback or similar. Could that be the problem?
You might try calling glXGetCurrentContext() and see what it returns -- or whether it seg-faults too.
stuartlevy is offline   Reply With Quote