st/wgl: check for negative delta in wait_swap_interval()
authorFrank Richter <frank.richter@dynardo.de>
Mon, 14 Aug 2017 14:05:22 +0000 (16:05 +0200)
committerBrian Paul <brianp@vmware.com>
Thu, 17 Aug 2017 00:32:46 +0000 (18:32 -0600)
commitd90e05ad487e9fe7e17c293814ac8549d9d686d8
tree60304861c7afda681a1a2d56a22a94296f896b36
parent496a691e3544d082670ac1f33059692510a2a86d
st/wgl: check for negative delta in wait_swap_interval()

This can happen because of rollover.  See bug report for details.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=102241
Cc: mesa-stable@lists.freedesktop.org
Reviewed-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Jose Fonseca <jfonseca@vmware.com>
src/gallium/state_trackers/wgl/stw_framebuffer.c