On 09/25/2012 07:50 PM, Eric Anholt wrote: > --- > src/glx/dri2_glx.c | 11 +++++------ > 1 file changed, 5 insertions(+), 6 deletions(-)
> @@ -829,7 +826,9 @@ dri2SetSwapInterval(__GLXDRIdrawable *pdraw, int interval) > > switch (vblank_mode) { > case DRI_CONF_VBLANK_NEVER: > - return GLX_BAD_VALUE; > + if (interval != 0) > + return GLX_BAD_VALUE; > + break; > case DRI_CONF_VBLANK_ALWAYS_SYNC: > if (interval <= 0) > return GLX_BAD_VALUE; I think this patch should be split into two because it does more than a simple replacement, as the subject claims. This hunk apparently fixes a bug. _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev