OSDN Git Service

dri2: Don't call the dri2 flush hook for swapbuffers unless we have a context.
authorEric Anholt <eric@anholt.net>
Tue, 15 Feb 2011 03:03:37 +0000 (19:03 -0800)
committerEric Anholt <eric@anholt.net>
Sat, 26 Feb 2011 20:43:15 +0000 (12:43 -0800)
commit74cde6505c233f388e902d1daa0e9f186dd012a9
tree6f2ddce1285570ca17492a5b21bde8733a41b15e
parent4d01bea808592aec74be2d2a4bbb6488b9299cda
dri2: Don't call the dri2 flush hook for swapbuffers unless we have a context.

The driver only has one reasonable place to look for its context to
flush anything, which is the current context.  Don't bother it with
having to check.
src/glx/dri2_glx.c