summaryrefslogtreecommitdiff
path: root/src/glx
diff options
context:
space:
mode:
authorEmma Anholt <emma@anholt.net>2022-07-11 11:51:54 -0700
committerMarge Bot <emma+marge@anholt.net>2022-07-12 21:57:23 +0000
commitf3d336806525b0b6992d06d24e006e2665d657f7 (patch)
tree4143a3f38b8ea3a6a671ad4b6d452ff1cbf39f34 /src/glx
parent378da2c3ff585adf0e0280ad333e4ba5d0932131 (diff)
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>
Diffstat (limited to 'src/glx')
-rw-r--r--src/glx/drisw_glx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/glx/drisw_glx.c b/src/glx/drisw_glx.c
index a4051e85b41..4bd7d8cdb84 100644
--- a/src/glx/drisw_glx.c
+++ b/src/glx/drisw_glx.c
@@ -897,7 +897,7 @@ kopperSetSwapInterval(__GLXDRIdrawable *pdraw, int interval)
psc->kopper->setSwapInterval(pdp->driDrawable, interval);
pdp->swapInterval = interval;
- return 1;
+ return 0;
}
static int