mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2026-05-05 01:48:02 +02:00
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.
This commit is contained in:
parent
8469241592
commit
766bf01b21
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue