Age | Commit message (Collapse) | Author |
|
Clears this warning from clang, even though it seems like a
false positive, as all the uses are behind the same conditions:
xdriinfo.c:117:27: warning: variable 'screenNum' may be uninitialized
when used here [-Wconditional-uninitialized]
if (func == DRIVER && screenNum == -1) {
^~~~~~~~~
xdriinfo.c:61:28: note: initialize the variable 'screenNum' to silence
this warning
int nScreens, screenNum;
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
|
|
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
|
|
For glx calls to work on libglvnd as glx provider we must first call
glXGetClientString. This also means that we can no longer take the
shortcut to not open the Display when a driver name is past to options.
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
|
|
Add both -version & -display to man page, since options were not
previously documented.
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
|
|
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
|
|
|
|
|
|
Casting to GLubyte* to remove warning.
|
|
using the GLX 1.3 glXGetProcAddressARB instead of glXGetProcAddress.
|
|
|