glXGetFBConfigs() return value
Tomas Carnecky
tom at dbservice.com
Fri Jul 20 13:24:39 PDT 2007
Ian Romanick wrote:
> Tomas Carnecky wrote:
>> GLXFBConfig *list = glXGetFBConfigs(...);
>> GLXFBConfig copy = list[0];
>> XFree(list);
>> glXGetFBConfigAttrib(.., copy, ..);
>
> Yeah, this code should be fine.
>
Thanks. And is 'None' a valid value for a GLXFBConfig? To be used in
code like this:
GLXFBConfig findFBConfig(...)
{
if (...)
return None;
return (GLXFBConfig) ...
}
tom
More information about the xorg
mailing list