diff options
Diffstat (limited to 'contrib/packages/rpm/el5/SOURCES/mesa-7.6-hush-vblank-warning.patch')
-rw-r--r-- | contrib/packages/rpm/el5/SOURCES/mesa-7.6-hush-vblank-warning.patch | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/contrib/packages/rpm/el5/SOURCES/mesa-7.6-hush-vblank-warning.patch b/contrib/packages/rpm/el5/SOURCES/mesa-7.6-hush-vblank-warning.patch new file mode 100644 index 00000000..8ef007b1 --- /dev/null +++ b/contrib/packages/rpm/el5/SOURCES/mesa-7.6-hush-vblank-warning.patch @@ -0,0 +1,12 @@ +diff -up mesa-20090813/src/mesa/drivers/dri/common/vblank.c.jx mesa-20090813/src/mesa/drivers/dri/common/vblank.c +--- mesa-20090813/src/mesa/drivers/dri/common/vblank.c.jx 2009-08-13 09:28:01.000000000 -0400 ++++ mesa-20090813/src/mesa/drivers/dri/common/vblank.c 2009-09-08 14:07:51.000000000 -0400 +@@ -256,7 +256,7 @@ static int do_wait( drmVBlank * vbl, GLu + if ( ret != 0 ) { + static GLboolean first_time = GL_TRUE; + +- if ( first_time ) { ++ if (0) { + fprintf(stderr, + "%s: drmWaitVBlank returned %d, IRQs don't seem to be" + " working correctly.\nTry adjusting the vblank_mode" |