Hello!
I´ m using
int fbconfigID=-1;
rval=glXGetFBConfigAttribSGIX(display, fbconfigs[0], GLX_FBCONFIG_ID_SGIX, &fbconfigID);
in order to get the ID of the given fbconfig ( I get back ‘85’, for a floating point pbuffer). At a later point I use
int fbAttribs[4]={GLX_FBCONFIG_ID_SGIX, fbconfigID, 0,0};
int num_formats=0;
GLXFBConfigSGIX *fbconfigs=glXChooseFBConfigSGIX(display, screen, &fbAttribs[0], &num_formats);]
in order to retrieve the corresponding fbconfig back. Unfortunately I get back a NULL pointer, indicating that a fbconfig of this ID doesn´ t exist. What is going on here? Why isn´ t that working?
I´ m using a Geforce6800GT with newest drivers on Suse Linux 9.0