From 0c8083e262d7dcc6dc13e0c6fc724855c2e73a30 Mon Sep 17 00:00:00 2001 From: idr Date: Wed, 30 Apr 2003 01:50:33 +0000 Subject: Merged texmem-0-0-1 --- xc/lib/GL/mesa/src/drv/mga/mgaioctl.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'xc/lib/GL/mesa/src/drv/mga/mgaioctl.h') diff --git a/xc/lib/GL/mesa/src/drv/mga/mgaioctl.h b/xc/lib/GL/mesa/src/drv/mga/mgaioctl.h index ecf513dd7..2d959d824 100644 --- a/xc/lib/GL/mesa/src/drv/mga/mgaioctl.h +++ b/xc/lib/GL/mesa/src/drv/mga/mgaioctl.h @@ -104,8 +104,9 @@ do { \ if ( ret < 0 ) { \ drmCommandNone( mmesa->driFd, DRM_MGA_RESET ); \ UNLOCK_HARDWARE( mmesa ); \ - fprintf( stderr, "%s: flush ret=%d\n", __FUNCTION__, ret ); \ - /*fprintf( stderr, "drmMGAFlushDMA: return = %d\n", ret );*/ \ + fprintf( stderr, "%s: flush return = %s (%d), flags = 0x%08x\n", \ + __FUNCTION__, strerror( -ret ), -ret, \ + (unsigned)(flags) ); \ exit( 1 ); \ } \ } while (0) -- cgit v1.2.3