avgdvg: Coverity 316107 (wrong variable?) regression check needed.

This commit is contained in:
Robbbert 2021-03-03 14:19:14 +11:00
parent 28256429ab
commit 070e50bf82

View File

@ -136,7 +136,7 @@ void avgdvg_device_base::vg_flush()
cx1 = cx0;
cx0 = t;
}
if (cy0 > cx1)
if (cy0 > cy1)
{
const int t = cy1;
cy1 = cy0;