dri: vblank_mode warning
authorTormod Volden <lists.tormod@gmail.com>
Sat, 24 May 2008 16:32:03 +0000 (18:32 +0200)
committerMichel Dänzer <michel@tungstengraphics.com>
Sat, 24 May 2008 16:32:03 +0000 (18:32 +0200)
From what I can see the environment variables LIBGL_THROTTLE_REFRESH
and LIBGL_SYNC_REFRESH were taken out like 3 years ago, but this
warning was never updated.

src/mesa/drivers/dri/common/vblank.c

index e81cc6886f2bd5cc97ed6e3f79d09827f7c58273..dc2cbcc84d4ad78cae91d96e801ed18514bd2d45 100644 (file)
@@ -260,8 +260,8 @@ static int do_wait( drmVBlank * vbl, GLuint * vbl_seq, int fd )
       if ( first_time ) {
         fprintf(stderr, 
                 "%s: drmWaitVBlank returned %d, IRQs don't seem to be"
-                " working correctly.\nTry running with LIBGL_THROTTLE_REFRESH"
-                " and LIBL_SYNC_REFRESH unset.\n", __FUNCTION__, ret);
+                " working correctly.\nTry adjusting the vblank_mode"
+                " configuration parameter.\n", __FUNCTION__, ret);
         first_time = GL_FALSE;
       }