skynet
10-07-2004, 11:27 PM
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
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