Skip to content
Snippets Groups Projects
Commit c48d07cf authored by Keith Packard's avatar Keith Packard Committed by Julien Cristau
Browse files

glx/present: Only send GLX_BufferSwapComplete for PresentCompleteKindPixmap

Present didn't provide the 'kind' argument to the
present_complete_notify hook that GLX uses to construct
GLX_BufferSwapComplete events, so GLX was reporting events for
PresentCompleteKindMSC notifications, which resulted in duplicate
GLX_BufferSwapComplete events and crashes in clutter.

See the gnome bug: https://bugzilla.gnome.org/show_bug.cgi?id=733282



Signed-off-by: default avatarKeith Packard <keithp@keithp.com>
Reviewed-by: default avatarEric Anholt <eric@anholt.net>
(cherry picked from commit bf338efc)
[backport to 1.16: check 'kind' in the caller to avoid ABI change]
Signed-off-by: default avatarJulien Cristau <jcristau@debian.org>
parent fbe97794
No related branches found
Tags gst-plugins-bad-1.15.90
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment