diff options
-rw-r--r-- | randr/rrprovider.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/randr/rrprovider.c b/randr/rrprovider.c index bbb8e51b3..5329f410b 100644 --- a/randr/rrprovider.c +++ b/randr/rrprovider.c @@ -325,6 +325,8 @@ ProcRRSetProviderOffloadSink(ClientPtr client) VERIFY_RR_PROVIDER(stuff->provider, provider, DixReadAccess); if (!(provider->capabilities & RR_Capability_SourceOffload)) return BadValue; + if (!provider->pScreen->isGPU) + return BadValue; if (stuff->sink_provider) { VERIFY_RR_PROVIDER(stuff->sink_provider, sink_provider, DixReadAccess); |