silence warnings
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
/* $Id: glxheads.c,v 1.3 2002/03/08 19:44:28 brianp Exp $ */
|
/* $Id: glxheads.c,v 1.4 2003/04/21 14:51:16 brianp Exp $ */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Exercise multiple GLX connections on multiple X displays.
|
* Exercise multiple GLX connections on multiple X displays.
|
||||||
@@ -248,9 +248,9 @@ static void
|
|||||||
PrintInfo(const struct head *h)
|
PrintInfo(const struct head *h)
|
||||||
{
|
{
|
||||||
printf("Name: %s\n", h->DisplayName);
|
printf("Name: %s\n", h->DisplayName);
|
||||||
printf(" Display: 0x%x\n", (int) h->Dpy);
|
printf(" Display: %p\n", h->Dpy);
|
||||||
printf(" Window: 0x%x\n", (int) h->Win);
|
printf(" Window: 0x%x\n", (int) h->Win);
|
||||||
printf(" Context: 0x%x\n", (int) h->Context);
|
printf(" Context: 0x%lx\n", (long) h->Context);
|
||||||
printf(" GL_VERSION: %s\n", h->Version);
|
printf(" GL_VERSION: %s\n", h->Version);
|
||||||
printf(" GL_VENDOR: %s\n", h->Vendor);
|
printf(" GL_VENDOR: %s\n", h->Vendor);
|
||||||
printf(" GL_RENDERER: %s\n", h->Renderer);
|
printf(" GL_RENDERER: %s\n", h->Renderer);
|
||||||
|
@@ -1,5 +1,3 @@
|
|||||||
/* $Id: manywin.c,v 1.5 2001/11/26 17:21:46 brianp Exp $ */
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Create N GLX windows/contexts and render to them in round-robin
|
* Create N GLX windows/contexts and render to them in round-robin
|
||||||
* order.
|
* order.
|
||||||
@@ -284,7 +282,7 @@ PrintInfo(const struct head *h)
|
|||||||
printf("Name: %s\n", h->DisplayName);
|
printf("Name: %s\n", h->DisplayName);
|
||||||
printf(" Display: %p\n", (void *) h->Dpy);
|
printf(" Display: %p\n", (void *) h->Dpy);
|
||||||
printf(" Window: 0x%x\n", (int) h->Win);
|
printf(" Window: 0x%x\n", (int) h->Win);
|
||||||
printf(" Context: 0x%x\n", (int) h->Context);
|
printf(" Context: 0x%lx\n", (long) h->Context);
|
||||||
printf(" GL_VERSION: %s\n", h->Version);
|
printf(" GL_VERSION: %s\n", h->Version);
|
||||||
printf(" GL_VENDOR: %s\n", h->Vendor);
|
printf(" GL_VENDOR: %s\n", h->Vendor);
|
||||||
printf(" GL_RENDERER: %s\n", h->Renderer);
|
printf(" GL_RENDERER: %s\n", h->Renderer);
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
/* $Id: pbinfo.c,v 1.1 2002/10/05 18:30:13 brianp Exp $ */
|
/* $Id: pbinfo.c,v 1.2 2003/04/21 14:51:16 brianp Exp $ */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Print list of fbconfigs and test each to see if a pbuffer can be created
|
* Print list of fbconfigs and test each to see if a pbuffer can be created
|
||||||
@@ -49,6 +49,7 @@ PrintConfigs(Display *dpy, int screen, Bool horizFormat)
|
|||||||
fbConfigs = glXChooseFBConfigSGIX(dpy, screen, fbAttribs, &nConfigs);
|
fbConfigs = glXChooseFBConfigSGIX(dpy, screen, fbAttribs, &nConfigs);
|
||||||
#else
|
#else
|
||||||
/* GLX 1.3 method */
|
/* GLX 1.3 method */
|
||||||
|
(void) fbAttribs;
|
||||||
fbConfigs = glXGetFBConfigs(dpy, screen, &nConfigs);
|
fbConfigs = glXGetFBConfigs(dpy, screen, &nConfigs);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user