mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 06:58:05 +02:00
winsys/radeon: don't call surface_best for FMASK
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=98518 Acked-by: Edward O'Callaghan <funfunctor@folklore1984.net>
This commit is contained in:
parent
0c17b0b6f0
commit
0f72f7292a
1 changed files with 1 additions and 1 deletions
|
|
@ -231,7 +231,7 @@ static int radeon_winsys_surface_init(struct radeon_winsys *rws,
|
|||
|
||||
surf_winsys_to_drm(&surf_drm, tex, flags, bpe, mode, surf_ws);
|
||||
|
||||
if (!(flags & RADEON_SURF_IMPORTED)) {
|
||||
if (!(flags & (RADEON_SURF_IMPORTED | RADEON_SURF_FMASK))) {
|
||||
r = radeon_surface_best(ws->surf_man, &surf_drm);
|
||||
if (r)
|
||||
return r;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue