summaryrefslogtreecommitdiff
path: root/glamor
diff options
context:
space:
mode:
authorAdam Jackson <ajax@redhat.com>2019-05-16 15:48:14 -0400
committerAdam Jackson <ajax@nwnk.net>2019-05-28 18:10:56 +0000
commit766bf01b21306ec6bcf5ca884c0af15bdcde25f6 (patch)
treefe55b7c0442c88d74e48c2a0281c030ac4d9fb2b /glamor
parent8469241592b94b002a975274a596ca0dcdd9563f (diff)
glamor: Fix more fallback paths with non-GXcopy rop with GLES
Desktop GL can handle arbitrary rops here, GLES can't. The switch statement attempts to optimize some cases that GLES can still handle if we precompute the right pixel value, but we were then throwing that pixel value away and using gc->fgPixel anyway. Fix this, and now xts-render passes against glamor+gles.
Diffstat (limited to 'glamor')
-rw-r--r--glamor/glamor_transform.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/glamor/glamor_transform.c b/glamor/glamor_transform.c
index 348d00be1..11a08f7f6 100644
--- a/glamor/glamor_transform.c
+++ b/glamor/glamor_transform.c
@@ -158,7 +158,7 @@ glamor_set_solid(PixmapPtr pixmap,
return FALSE;
}
}
- glamor_set_color(pixmap, gc->fgPixel, uniform);
+ glamor_set_color(pixmap, pixel, uniform);
return TRUE;
}