kopper: Fix the return value of kopperSetSwapInterval().

Compare to dri2SetSwapInterval() and dri3_set_swap_interval()
implementations of the same method.

Reviewed-By: Mike Blumenkrantz <michael.blumenkrantz@gmail.com>
Reviewed-by: Adam Jackson <ajax@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17470>
This commit is contained in:
Emma Anholt 2022-07-11 11:51:54 -07:00 committed by Marge Bot
parent 378da2c3ff
commit f3d3368065
1 changed files with 1 additions and 1 deletions

View File

@ -897,7 +897,7 @@ kopperSetSwapInterval(__GLXDRIdrawable *pdraw, int interval)
psc->kopper->setSwapInterval(pdp->driDrawable, interval);
pdp->swapInterval = interval;
return 1;
return 0;
}
static int