zink: remove no-longer-needed hack
It seems whatever was causing this is no longer an issue. So let's get rid of the hack here. Signed-off-by: Erik Faye-Lund <erik.faye-lund@collabora.com>
This commit is contained in:
parent
e1c87bbb4b
commit
5b09a7e2e4
|
@ -1311,11 +1311,6 @@ blit_resolve(struct zink_context *ctx, const struct pipe_blit_info *info)
|
||||||
dst->image, dst->layout,
|
dst->image, dst->layout,
|
||||||
1, ®ion);
|
1, ®ion);
|
||||||
|
|
||||||
/* HACK: I have no idea why this is needed, but without it ioquake3
|
|
||||||
* randomly keeps fading to black.
|
|
||||||
*/
|
|
||||||
flush_batch(ctx);
|
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1391,11 +1386,6 @@ blit_native(struct zink_context *ctx, const struct pipe_blit_info *info)
|
||||||
1, ®ion,
|
1, ®ion,
|
||||||
filter(info->filter));
|
filter(info->filter));
|
||||||
|
|
||||||
/* HACK: I have no idea why this is needed, but without it ioquake3
|
|
||||||
* randomly keeps fading to black.
|
|
||||||
*/
|
|
||||||
flush_batch(ctx);
|
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue