querying the video card

Is there a way to determine what extensions are available on the video card without creating a window?
The window is needed to create the context, and there must be a context before glGetString will work. Can I get around this?

thanks,
kerryh

NAME
glXQueryExtensionsString - return list of supported exten­sions

C SPECIFICATION
const char * glXQueryExtensionsString( Display *dpy, int screen )

More info available from man glXQueryExtensionsString.

[This message has been edited by rts (edited 03-24-2002).]

Howdy,

btw, you don’t need to create a window as soon as you make a context; you need to ~explicilty~ create a window. Also, your window will only appear when you dispatch the window creation event. (ie. there are a lot of hoops a window has to jump through before it’ll make an appearance)

cheers,
John