mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-25 00:00:11 +01:00
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:
parent
378da2c3ff
commit
f3d3368065
1 changed files with 1 additions and 1 deletions
|
|
@ -897,7 +897,7 @@ kopperSetSwapInterval(__GLXDRIdrawable *pdraw, int interval)
|
|||
psc->kopper->setSwapInterval(pdp->driDrawable, interval);
|
||||
pdp->swapInterval = interval;
|
||||
|
||||
return 1;
|
||||
return 0;
|
||||
}
|
||||
|
||||
static int
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue