View Full Version : querying the video card
03-24-2002, 06:45 PM
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?
glXQueryExtensionsString - return list of supported exten*sions
const char * glXQueryExtensionsString( Display *dpy, int screen )
More info available from man glXQueryExtensionsString.
[This message has been edited by rts (edited 03-24-2002).]
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)
Powered by vBulletin® Version 4.2.3 Copyright © 2016 vBulletin Solutions, Inc. All rights reserved.