glxgetfbconfigfromvisualsgix - Man Page






glXGetFBConfigFromVisualSGIX(3G)			OpenGL Reference - GLX



NAME
     glXGetFBConfigFromVisualSGIX - return frame buffer	configuration that is
     associated	with visual


C SPECIFICATION
     GLXFBConfigSGIX glXGetFBConfigFromVisualSGIX( Display *dpy,
						   XVisualInfo *vis )


PARAMETERS
     dpy  Specifies the	connection to the X server.

     vis  Specifies the	visual that defines the	frame buffer resources.	 It is
	  a pointer to an XVisualInfo structure, not a visual ID or a pointer
	  to a Visual.


DESCRIPTION
     If	vis is a valid XVisualInfo and it has an associated GLX	frame buffer
     configuration then	a handle to the	configuration is returned; otherwise
     NULL is returned.	Use XFree to free the data returned.


NOTES
     glXGetFBConfigFromVisualSGIX is part of the GLX_SGIX_fbconfig extension.

     XVisualInfo is defined in Xutil.h.	 It is a structure that	includes
     visual, visualID, screen, and depth elements.


ERRORS
     Returns NULL if vis is not	a valid	XVisualInfo.



SEE ALSO
     glXGetFBConfigAttribSGIX, glXChooseFBConfigSGIX, glXChooseVisual,
     glXGetConfig
















									Page 1