mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-01 11:50:09 +01:00
silence warnings
This commit is contained in:
parent
37c0497d98
commit
a511b70f44
2 changed files with 2 additions and 2 deletions
|
|
@ -247,7 +247,7 @@ static void
|
|||
PrintInfo(const struct head *h)
|
||||
{
|
||||
printf("Name: %s\n", h->DisplayName);
|
||||
printf(" Display: %p\n", h->Dpy);
|
||||
printf(" Display: %p\n", (void *) h->Dpy);
|
||||
printf(" Window: 0x%x\n", (int) h->Win);
|
||||
printf(" Context: 0x%lx\n", (long) h->Context);
|
||||
printf(" GL_VERSION: %s\n", h->Version);
|
||||
|
|
|
|||
|
|
@ -576,7 +576,7 @@ event_loop(Display *dpy, Window win)
|
|||
static void
|
||||
show_refresh_rate( Display * dpy )
|
||||
{
|
||||
#if defined(GLX_OML_sync_control) && (__STDC_VERSION__ >= 199901L)
|
||||
#if defined(GLX_OML_sync_control) && defined(__STDC_VERSION__) && (__STDC_VERSION__ >= 199901L)
|
||||
PFNGLXGETMSCRATEOMLPROC get_msc_rate;
|
||||
int32_t n;
|
||||
int32_t d;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue