Skip to content
Snippets Groups Projects
Commit f1a7d632 authored by Keith Whitwell's avatar Keith Whitwell
Browse files

Shortcircuit ioctl if no focus

parent d31591ea
No related branches found
No related tags found
Loading
......@@ -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 );
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment