diff options
-rw-r--r-- | src/mesa/drivers/dri/radeon/radeon_ioctl.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/radeon/radeon_ioctl.c b/src/mesa/drivers/dri/radeon/radeon_ioctl.c index bba2c94ef2..9b10fc1389 100644 --- a/src/mesa/drivers/dri/radeon/radeon_ioctl.c +++ b/src/mesa/drivers/dri/radeon/radeon_ioctl.c @@ -1225,6 +1225,9 @@ void radeonFlush( GLcontext *ctx ) if (RADEON_DEBUG & DEBUG_IOCTL) fprintf(stderr, "%s\n", __FUNCTION__); + if (!rmesa->radeonScreen->buffers) + return; + if (rmesa->dma.flush) rmesa->dma.flush( rmesa ); |