sna: Always enable the solid-cache and gradient-cache

Figuring out when it might not be used is simply too error prone.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
This commit is contained in:
Chris Wilson 2013-02-21 15:34:47 +00:00
parent b7a96df9b0
commit 6172ff3e35
1 changed files with 1 additions and 1 deletions

View File

@ -428,7 +428,7 @@ bool sna_gradients_create(struct sna *sna)
{
DBG(("%s\n", __FUNCTION__));
if (!can_render(sna))
if (unlikely(sna->kgem.wedged))
return true;
if (!sna_alpha_cache_init(sna))