glXQueryDrawable

returns an attribute assoicated with a GLX drawable

Signature

glXQueryDrawable( Display * ( dpy ) , GLXDrawable ( draw ) , int ( attribute ) , unsigned int * ( value ) )-> int
glXQueryDrawable( dpy , draw , attribute , value )

Parameters

VariablesDescription
dpy
Specifies the connection to the X server.
draw
Specifies the GLX drawable to be queried.
attribute
Specifies the attribute to be returned. Must be one of GLX_WIDTH , GLX_HEIGHT , GLX_PRESERVED_CONTENTS , GLX_LARGEST_PBUFFER , or GLX_FBCONFIG_ID .
value
Contains the return value for attribute .