summaryrefslogtreecommitdiffstats
path: root/src/glx/dri3_priv.h
diff options
context:
space:
mode:
authorMario Kleiner <[email protected]>2014-12-05 08:42:29 +0100
committerEmil Velikov <[email protected]>2014-12-14 15:09:49 +0000
commit8cab54de16f4691672533967daa79c9cfa2e24cc (patch)
treeb283ce147c049a4594b7951df6eeac71db46f3c4 /src/glx/dri3_priv.h
parentac0940224b7ce154f9492f07ef8c1df036a0b57b (diff)
glx/dri3: Fix glXWaitForSbcOML() to handle targetSBC==0 correctly. (v2)
targetSBC == 0 is a special case, which asks the function to block until all pending OpenGL bufferswap requests have completed. Currently the function just falls through for targetSBC == 0, returning bogus results. This breaks applications originally written and tested against DRI2 which also rely on this not regressing under DRI3/Present, e.g., Neuro-Science software like Psychtoolbox-3. This patch fixes the problem. v2: Simplify as suggested by Axel Davy. Add comments proposed by Eric Anholt. Cc: "10.3 10.4" <[email protected]> Signed-off-by: Mario Kleiner <[email protected]> Reviewed-by: Axel Davy <[email protected]> Reviewed-by: Eric Anholt <[email protected]>
Diffstat (limited to 'src/glx/dri3_priv.h')
0 files changed, 0 insertions, 0 deletions